Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001295/0.001295, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001212/0.001212, allocations: 170.6 kB / 24.91 MB, free: 8.77 MB / 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 0.9914/0.9914, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2542/0.2542, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.001e-05, allocations: 2.969 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002629/0.002649, allocations: 2.492 MB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004027, allocations: 1.075 MB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.004102, allocations: 12 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007549/0.004856, allocations: 0.5288 MB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.005091, allocations: 119.1 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.005661, allocations: 466 kB / 329.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.005926, allocations: 226.9 kB / 330.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.006221, allocations: 242.4 kB / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.006437, allocations: 135.8 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.006543, allocations: 103.7 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.006567, allocations: 20 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.006786, allocations: 151.7 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.006814, allocations: 51.77 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.006866, allocations: 79.83 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.007157, allocations: 306.9 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.00716, allocations: 4 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007161, allocations: 0 / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.007165, allocations: 0 / 331.2 MB, free: 1.719 MB / 298.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.0007628/0.007927, allocations: 0.5404 MB / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.007958, allocations: 12.03 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.008176, allocations: 76.81 kB / 331.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.008263, allocations: 141.4 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.008279, allocations: 20.88 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.008308, allocations: 24.38 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.008522, allocations: 216 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.008533, allocations: 4.188 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.008547, allocations: 8.375 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.008554, allocations: 11.94 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.008639, allocations: 67.34 kB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.009339, allocations: 0.6546 MB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.009637, allocations: 145 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.009728, allocations: 73.72 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.009798, allocations: 11.98 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.009822, allocations: 43.44 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.009823, allocations: 0 / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003339/0.01016, allocations: 191.4 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.01019, allocations: 81.11 kB / 333.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.01025, allocations: 134.5 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.01027, allocations: 29.7 kB / 333.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.01032, allocations: 140.3 kB / 333.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.01035, allocations: 75.53 kB / 333.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.01039, allocations: 41.64 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.01046, allocations: 326.8 kB / 334.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.01048, allocations: 15.94 kB / 334.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.01054, allocations: 69.97 kB / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.788e-05/0.01062, allocations: 104.4 kB / 334.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01063, allocations: 8 kB / 334.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001568/0.01078, allocations: 143.1 kB / 334.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.0108, allocations: 14.22 kB / 334.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.0108, allocations: 4 kB / 334.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.01093, allocations: 45.67 kB / 334.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.01101, allocations: 36.17 kB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.01231, allocations: 2.356 MB / 337 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.01237, allocations: 23.88 kB / 337 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.01237, allocations: 7.938 kB / 337 MB, free: 11.44 MB / 314.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 7.194e-05/0.01245, allocations: 125.8 kB / 337.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.01247, allocations: 12.09 kB / 337.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.01265, allocations: 148 kB / 337.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01265, allocations: 4 kB / 337.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01265, allocations: 0 / 337.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01266, allocations: 0 / 337.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.01303, allocations: 377.9 kB / 337.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01303, allocations: 0 / 337.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.0131, allocations: 31.92 kB / 337.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.493e-05/0.01318, allocations: 37.7 kB / 337.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.0132, allocations: 11.92 kB / 337.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008571/0.01405, allocations: 2.353 MB / 340.1 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01405, allocations: 0 / 340.1 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.01427, allocations: 349.2 kB / 340.5 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.01429, allocations: 23.77 kB / 340.5 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.0143, allocations: 8 kB / 340.5 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.01437, allocations: 4 kB / 340.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.01441, allocations: 27.89 kB / 340.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.01442, allocations: 8.094 kB / 340.5 MB, free: 7.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.765e-05/0.01444, allocations: 22.22 kB / 340.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01444, allocations: 0 / 340.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.0147, allocations: 71.83 kB / 340.6 MB, free: 7.578 MB / 314.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.0001538/0.01485, allocations: 112.3 kB / 340.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.01511, allocations: 324.4 kB / 341.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01512, allocations: 4 kB / 341.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.01524, allocations: 282 kB / 341.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01543, allocations: 25.52 kB / 341.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.01611, allocations: 435.2 kB / 341.8 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.01616, allocations: 80.2 kB / 341.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.793e-05/0.01621, allocations: 17.14 kB / 341.9 MB, free: 6.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.01627, allocations: 71.36 kB / 342 MB, free: 6.137 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01627, allocations: 0 / 342 MB, free: 6.137 MB / 314.7 MB Notification: Performance of Templates: time 0.00469/0.02096, allocations: 2.516 MB / 344.5 MB, free: 3.676 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1238072081469]