Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000783/0.000783, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001926, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006703/0.0006703, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001762, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8974/0.8974, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1712/1.069, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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.1375/0.1375, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02069/0.1582, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.7 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.536e-05, allocations: 5.406 kB / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004069/0.004094, allocations: 3.285 MB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.00558, allocations: 0.8332 MB / 290 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.005757, allocations: 19.81 kB / 290 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.005887, allocations: 67.23 kB / 290 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.006148, allocations: 186.4 kB / 290.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.006348, allocations: 111.8 kB / 290.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.00685, allocations: 0.6218 MB / 291 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.007063, allocations: 118.5 kB / 291.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.007468, allocations: 367.9 kB / 291.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.007679, allocations: 187.5 kB / 291.6 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.007734, allocations: 44 kB / 291.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.007793, allocations: 44 kB / 291.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.007847, allocations: 75.69 kB / 291.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.007968, allocations: 163.7 kB / 291.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.008307, allocations: 350.6 kB / 292.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-05/0.008325, allocations: 0 / 292.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.008327, allocations: 0 / 292.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.008342, allocations: 0 / 292.3 MB, free: 1.965 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009368/0.009279, allocations: 0.7802 MB / 293.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.009314, allocations: 16.03 kB / 293.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.009419, allocations: 76.88 kB / 293.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.009747, allocations: 228.5 kB / 293.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.009776, allocations: 33.38 kB / 293.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.009856, allocations: 60.31 kB / 293.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.01025, allocations: 323.1 kB / 293.8 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.01027, allocations: 12.12 kB / 293.8 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.0103, allocations: 20.38 kB / 293.8 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.01032, allocations: 23.81 kB / 293.8 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.01052, allocations: 157.4 kB / 294 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.01159, allocations: 0.7572 MB / 294.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.01197, allocations: 268.3 kB / 295 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.0121, allocations: 119.1 kB / 295.1 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.01212, allocations: 16.44 kB / 295.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.01215, allocations: 43.06 kB / 295.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.864e-06/0.01215, allocations: 0 / 295.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001828/0.01398, allocations: 1.441 MB / 296.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.01402, allocations: 89.59 kB / 296.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.01417, allocations: 233 kB / 296.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.0142, allocations: 41.7 kB / 297 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.0143, allocations: 193.8 kB / 297.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.01446, allocations: 281.5 kB / 297.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.01458, allocations: 130.6 kB / 297.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01469, allocations: 354.7 kB / 297.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.01478, allocations: 73.95 kB / 298 MB, free: 11.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.01494, allocations: 180.8 kB / 298.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.01526, allocations: 331.5 kB / 298.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01526, allocations: 0 / 298.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003933/0.01566, allocations: 353.2 kB / 298.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01567, allocations: 4 kB / 298.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.01568, allocations: 4 kB / 298.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.0157, allocations: 8 kB / 298.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.01625, allocations: 225.8 kB / 299.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01625, allocations: 4 kB / 299.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.01643, allocations: 28.06 kB / 299.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.01645, allocations: 16 kB / 299.1 MB, free: 10.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.01656, allocations: 157.6 kB / 299.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.01665, allocations: 51.95 kB / 299.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.01672, allocations: 55.62 kB / 299.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.01673, allocations: 11.98 kB / 299.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.01674, allocations: 0 / 299.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01674, allocations: 0 / 299.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.01782, allocations: 0.9666 MB / 300.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.01782, allocations: 4 kB / 300.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.01834, allocations: 195.1 kB / 300.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.01839, allocations: 39.7 kB / 300.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.0184, allocations: 11.94 kB / 300.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.01843, allocations: 23.94 kB / 300.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.01843, allocations: 4 kB / 300.6 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01844, allocations: 4 kB / 300.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.01898, allocations: 0.6399 MB / 301.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.01903, allocations: 31.92 kB / 301.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.01923, allocations: 20 kB / 301.3 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.01929, allocations: 56.34 kB / 301.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.0193, allocations: 12 kB / 301.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.01937, allocations: 78.72 kB / 301.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01937, allocations: 0 / 301.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.01978, allocations: 144 kB / 301.6 MB, free: 8.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.01989, allocations: 108.7 kB / 301.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.02026, allocations: 319.5 kB / 302 MB, free: 7.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/0.02028, allocations: 8 kB / 302 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.0205, allocations: 215.3 kB / 302.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.02149, allocations: 1.338 MB / 303.6 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.0289, allocations: 1.072 MB / 304.6 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.02901, allocations: 135.3 kB / 304.8 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.02919, allocations: 60.7 kB / 304.8 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.02944, allocations: 169.3 kB / 305 MB, free: 4.359 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02944, allocations: 3.938 kB / 305 MB, free: 4.355 MB / 298.7 MB Notification: Performance of Templates: time 0.009601/0.03904, allocations: 6.137 MB / 311.1 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8216671384871006]