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.001401/0.001401, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001527/0.001527, allocations: 208.1 kB / 23.74 MB, free: 4.543 MB / 14.72 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.476/1.476, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2206/0.2206, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 70.7 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.132, allocations: 61.05 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004685/0.1366, allocations: 2.982 MB / 0.5203 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1383, allocations: 0.8228 MB / 0.5211 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1385, allocations: 11.88 kB / 0.5211 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1387, allocations: 79.17 kB / 0.5212 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1391, allocations: 178.5 kB / 0.5213 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1393, allocations: 107.8 kB / 0.5214 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.1399, allocations: 0.5949 MB / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.1402, allocations: 121.7 kB / 0.5221 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.1405, allocations: 235.2 kB / 0.5224 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.1407, allocations: 207 kB / 0.5226 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.1408, allocations: 44 kB / 0.5226 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.1409, allocations: 44 kB / 0.5226 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.141, allocations: 103.6 kB / 0.5227 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.1412, allocations: 227 kB / 0.523 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.1419, allocations: 0.5641 MB / 0.5235 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1419, allocations: 4 kB / 0.5235 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1419, allocations: 0 / 0.5235 GB, free: 352 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1419, allocations: 0 / 0.5235 GB, free: 352 kB / 398.1 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.00113/0.143, allocations: 0.6882 MB / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.143, allocations: 8.031 kB / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.1431, allocations: 64.56 kB / 0.5243 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.1436, allocations: 252.8 kB / 0.5245 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.1437, allocations: 37.38 kB / 0.5245 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.685e-05/0.1438, allocations: 56.31 kB / 0.5246 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.1445, allocations: 438.9 kB / 0.525 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.1445, allocations: 15.94 kB / 0.525 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.1445, allocations: 16 kB / 0.525 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1445, allocations: 12 kB / 0.5251 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.1451, allocations: 312.5 kB / 0.5253 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1467, allocations: 0.9403 MB / 0.5263 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.1474, allocations: 384.8 kB / 0.5266 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1477, allocations: 194.9 kB / 0.5268 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1478, allocations: 4.438 kB / 0.5268 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1478, allocations: 39 kB / 0.5269 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.044e-06/0.1478, allocations: 0 / 0.5269 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.00301/0.1508, allocations: 1.849 MB / 0.5287 GB, free: 10.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.1509, allocations: 93.53 kB / 0.5288 GB, free: 10.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1511, allocations: 233.8 kB / 0.529 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1512, allocations: 37.7 kB / 0.529 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1513, allocations: 213.4 kB / 0.5292 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.1516, allocations: 289.5 kB / 0.5295 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1517, allocations: 126.6 kB / 0.5296 GB, free: 9.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1519, allocations: 350.7 kB / 0.53 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.1522, allocations: 157.9 kB / 0.5301 GB, free: 9.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.1525, allocations: 280.8 kB / 0.5304 GB, free: 9.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.1532, allocations: 474.8 kB / 0.5308 GB, free: 8.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1532, allocations: 0 / 0.5308 GB, free: 8.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008376/0.154, allocations: 0.5594 MB / 0.5314 GB, free: 7.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1541, allocations: 4 kB / 0.5314 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1541, allocations: 4.281 kB / 0.5314 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.1541, allocations: 12 kB / 0.5314 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.1547, allocations: 183.7 kB / 0.5316 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1547, allocations: 4 kB / 0.5316 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1549, allocations: 28.05 kB / 0.5316 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.155, allocations: 27.94 kB / 0.5316 GB, free: 7.676 MB / 414.1 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.000212/0.1552, allocations: 185.6 kB / 0.5318 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.1553, allocations: 47.72 kB / 0.5318 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1554, allocations: 55.61 kB / 0.5319 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.1554, allocations: 12 kB / 0.5319 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1554, allocations: 0 / 0.5319 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.1554, allocations: 3.984 kB / 0.5319 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.1573, allocations: 1.272 MB / 0.5332 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.1573, allocations: 11.97 kB / 0.5332 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.1579, allocations: 151.8 kB / 0.5333 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.1579, allocations: 4 kB / 0.5333 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.1579, allocations: 23.98 kB / 0.5333 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.1579, allocations: 8 kB / 0.5333 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.1579, allocations: 11.88 kB / 0.5334 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1591, allocations: 0.909 MB / 0.5342 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.1592, allocations: 47.86 kB / 0.5343 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.1592, allocations: 20 kB / 0.5343 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.1595, allocations: 19.94 kB / 0.5343 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.1596, allocations: 44.34 kB / 0.5344 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.1596, allocations: 24 kB / 0.5344 GB, free: 4.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1598, allocations: 173.1 kB / 0.5346 GB, free: 4.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1598, allocations: 0 / 0.5346 GB, free: 4.523 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.1603, allocations: 144 kB / 0.5347 GB, free: 4.383 MB / 414.1 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.0001564/0.1604, allocations: 127.1 kB / 0.5348 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.1612, allocations: 427.6 kB / 0.5352 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1612, allocations: 4 kB / 0.5352 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.1615, allocations: 219.4 kB / 0.5354 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/0.1623, allocations: 137.4 kB / 0.5356 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.165, allocations: 1.709 MB / 0.5372 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1653, allocations: 246 kB / 0.5375 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1655, allocations: 47.44 kB / 0.5375 GB, free: 1.391 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1655, allocations: 3.938 kB / 0.5375 GB, free: 1.387 MB / 414.1 MB Notification: Performance of Templates: time 0.2338/0.3992, allocations: 6.238 MB / 0.5436 GB, free: 27.1 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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: 8.675944088026881]