Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001287/0.001287, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002925, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001107/0.001107, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.002132, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1822/1.197, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1933/0.1933, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02117/0.2145, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.069e-05, allocations: 6.312 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003068/0.003089, allocations: 3.286 MB / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004564, allocations: 0.8729 MB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.004908, allocations: 15.88 kB / 271.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.005031, allocations: 75.23 kB / 271.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.00533, allocations: 190.3 kB / 271.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.005483, allocations: 107.8 kB / 271.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007123/0.006196, allocations: 0.6219 MB / 272.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.006388, allocations: 118.5 kB / 272.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.006682, allocations: 379.8 kB / 273 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.006925, allocations: 183.5 kB / 273.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.006975, allocations: 43.94 kB / 273.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.285e-05/0.007028, allocations: 44 kB / 273.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.007081, allocations: 75.75 kB / 273.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.007189, allocations: 159.7 kB / 273.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.007497, allocations: 346.7 kB / 273.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.007508, allocations: 0 / 273.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.00751, allocations: 4 kB / 273.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.007521, allocations: 0 / 273.9 MB, free: 12.04 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.000712/0.008233, allocations: 0.7879 MB / 274.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.008267, allocations: 8.031 kB / 274.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.008344, allocations: 76.81 kB / 274.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.008806, allocations: 220.6 kB / 275 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.008828, allocations: 37.38 kB / 275 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.008883, allocations: 60.31 kB / 275 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.009165, allocations: 323.1 kB / 275.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.009188, allocations: 20.06 kB / 275.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.009208, allocations: 20.38 kB / 275.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.009219, allocations: 19.88 kB / 275.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.009374, allocations: 147.6 kB / 275.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.01018, allocations: 0.7533 MB / 276.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.01052, allocations: 277.2 kB / 276.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.01062, allocations: 119.1 kB / 276.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01064, allocations: 12.44 kB / 276.7 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.01066, allocations: 39.06 kB / 276.8 MB, free: 9.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 1.613e-06/0.01067, allocations: 0 / 276.8 MB, free: 9.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.001415/0.01208, allocations: 1.452 MB / 278.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.01212, allocations: 89.59 kB / 278.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.01271, allocations: 228.9 kB / 278.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.01273, allocations: 37.7 kB / 278.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.0128, allocations: 193.8 kB / 278.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.01292, allocations: 285.5 kB / 279 MB, free: 6.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.01301, allocations: 122.6 kB / 279.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.01311, allocations: 358.7 kB / 279.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.01317, allocations: 69.95 kB / 279.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.0133, allocations: 188.8 kB / 279.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.01352, allocations: 323.6 kB / 280.1 MB, free: 5.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01353, allocations: 4 kB / 280.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002877/0.01381, allocations: 356.9 kB / 280.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01383, allocations: 8 kB / 280.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01384, allocations: 0 / 280.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01385, allocations: 8 kB / 280.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.01425, allocations: 228 kB / 280.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.01426, allocations: 8 kB / 280.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01437, allocations: 20 kB / 280.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.01439, allocations: 20 kB / 280.7 MB, free: 4.855 MB / 282.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 9.237e-05/0.01448, allocations: 157.6 kB / 280.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.01454, allocations: 55.95 kB / 280.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.01459, allocations: 51.61 kB / 281 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.0146, allocations: 19.92 kB / 281 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.0146, allocations: 0 / 281 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01461, allocations: 0 / 281 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/0.01542, allocations: 0.9591 MB / 281.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01542, allocations: 4 kB / 281.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.0158, allocations: 199.7 kB / 282.1 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.01583, allocations: 39.75 kB / 282.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.01584, allocations: 7.938 kB / 282.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.01585, allocations: 19.94 kB / 282.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01586, allocations: 4 kB / 282.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01586, allocations: 4 kB / 282.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.01628, allocations: 0.6555 MB / 282.9 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.01632, allocations: 23.92 kB / 282.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.01644, allocations: 20 kB / 282.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.01648, allocations: 52.34 kB / 283 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.0165, allocations: 16 kB / 283 MB, free: 2.441 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.01654, allocations: 78.7 kB / 283.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01654, allocations: 0 / 283.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000267/0.01681, allocations: 152 kB / 283.2 MB, free: 2.215 MB / 282.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 9.893e-05/0.01691, allocations: 108.2 kB / 283.3 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.01718, allocations: 315.5 kB / 283.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.01719, allocations: 4 kB / 283.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.01736, allocations: 227 kB / 283.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1026/0.1199, allocations: 1.329 MB / 285.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/0.1276, allocations: 1.063 MB / 286.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.1277, allocations: 134.1 kB / 286.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.1279, allocations: 55.73 kB / 286.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.1282, allocations: 171.1 kB / 286.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1282, allocations: 5.094 kB / 286.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of Templates: time 0.01068/0.1389, allocations: 6.141 MB / 292.7 MB, free: 13.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.340925632044673]