Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 88.33 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3745/0.3745, allocations: 32.79 MB / 293.9 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.495e-05, allocations: 5.406 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004478/0.004513, allocations: 2.362 MB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.006872, allocations: 1.024 MB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.006981, allocations: 4 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.00849, allocations: 0.4898 MB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.008817, allocations: 115.1 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.00984, allocations: 454.1 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.01023, allocations: 234.8 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.0107, allocations: 210.7 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.01099, allocations: 151.7 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.01116, allocations: 91.77 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.01121, allocations: 24 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.01154, allocations: 147.7 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.0116, allocations: 51.81 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.01171, allocations: 71.84 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.01234, allocations: 422.6 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01234, allocations: 4 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.01234, allocations: 4 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.01235, allocations: 0 / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001473/0.01383, allocations: 0.5443 MB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.01388, allocations: 8.031 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.0143, allocations: 84.7 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.01449, allocations: 133.5 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.01453, allocations: 20.88 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.01459, allocations: 28.38 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.01528, allocations: 283.3 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.0153, allocations: 192 / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.01533, allocations: 16.31 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.01535, allocations: 7.938 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.01602, allocations: 237.8 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.0179, allocations: 0.8336 MB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.01842, allocations: 201.1 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.01878, allocations: 129.6 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.01892, allocations: 19.98 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.01896, allocations: 34.5 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.01896, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001273/0.02024, allocations: 361.4 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.02031, allocations: 85.09 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.02046, allocations: 117.8 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.02048, allocations: 29.7 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.02061, allocations: 152.2 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.02068, allocations: 75.5 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/0.02077, allocations: 37.7 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.02096, allocations: 326.8 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.02119, allocations: 71.81 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.02145, allocations: 118 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.02194, allocations: 201.8 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.02194, allocations: 4 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007065/0.02265, allocations: 290.4 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.02267, allocations: 4 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.02268, allocations: 4 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/0.02324, allocations: 53.69 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.02345, allocations: 44.16 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.02612, allocations: 2.599 MB / 388.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.02629, allocations: 24.02 kB / 388.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.02631, allocations: 11.94 kB / 388.2 MB, free: 7.551 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.02649, allocations: 141.9 kB / 388.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.02656, allocations: 19.91 kB / 388.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.0273, allocations: 255.9 kB / 388.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.0273, allocations: 8 kB / 388.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.02731, allocations: 0 / 388.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02731, allocations: 4 kB / 388.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.02853, allocations: 0.5559 MB / 389.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02853, allocations: 0 / 389.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.02872, allocations: 39.97 kB / 389.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.02889, allocations: 49.7 kB / 389.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.02891, allocations: 8 kB / 389.3 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.03154, allocations: 2.584 MB / 391.8 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03154, allocations: 0 / 391.8 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.03267, allocations: 0.5298 MB / 392.4 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.03271, allocations: 15.91 kB / 392.4 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.03273, allocations: 11.94 kB / 392.4 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.03294, allocations: 15.97 kB / 392.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.03303, allocations: 27.97 kB / 392.4 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.03305, allocations: 4 kB / 392.4 MB, free: 2.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.03343, allocations: 102.8 kB / 392.5 MB, free: 2.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03343, allocations: 0 / 392.5 MB, free: 2.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005533/0.03398, allocations: 75.78 kB / 392.6 MB, free: 2.809 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003343/0.03432, allocations: 123.2 kB / 392.7 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.03526, allocations: 408.9 kB / 393.1 MB, free: 2.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.03527, allocations: 4.375 kB / 393.1 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.03578, allocations: 317.2 kB / 393.5 MB, free: 1.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.03625, allocations: 19.98 kB / 393.5 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.03727, allocations: 449.9 kB / 393.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.03742, allocations: 125.2 kB / 394 MB, free: 1.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.338e-05/0.0375, allocations: 13.14 kB / 394 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.03755, allocations: 20.5 kB / 394.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03755, allocations: 3.938 kB / 394.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of Templates: time 0.00746/0.04501, allocations: 2.407 MB / 396.5 MB, free: 14.86 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193832885939628]