Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001831/0.001831, allocations: 106.4 kB / 18.32 MB, free: 3.984 MB / 14.72 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.002256/0.002256, allocations: 186 kB / 21.49 MB, free: 0.8242 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.519/1.519, allocations: 207.6 MB / 232.1 MB, free: 3.164 MB / 174.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.3689/0.3689, allocations: 44.23 MB / 328.4 MB, free: 6.23 MB / 254.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.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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 75.19 kB / 465.5 MB, free: 45.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1504, allocations: 61 MB / 0.5142 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003493/0.1539, allocations: 1.934 MB / 0.5161 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.1548, allocations: 0.5408 MB / 0.5166 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1549, allocations: 6.75 kB / 0.5166 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.155, allocations: 21.11 kB / 0.5166 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1552, allocations: 41.14 kB / 0.5167 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1554, allocations: 41.44 kB / 0.5167 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1556, allocations: 149.1 kB / 0.5168 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1557, allocations: 50.33 kB / 0.5169 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1559, allocations: 64.19 kB / 0.5169 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.156, allocations: 62.3 kB / 0.517 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.156, allocations: 17 kB / 0.517 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.663e-05/0.156, allocations: 11 kB / 0.517 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.1561, allocations: 24.08 kB / 0.5171 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.1561, allocations: 70.81 kB / 0.5171 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1563, allocations: 149.1 kB / 0.5173 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1563, allocations: 4 kB / 0.5173 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1563, allocations: 0 / 0.5173 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1563, allocations: 0 / 0.5173 GB, free: 10.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005128/0.1568, allocations: 438.8 kB / 0.5177 GB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1569, allocations: 23.84 kB / 0.5177 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1569, allocations: 16.84 kB / 0.5177 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1571, allocations: 200.2 kB / 0.5179 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1571, allocations: 12.31 kB / 0.5179 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.1572, allocations: 16.33 kB / 0.5179 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1574, allocations: 133.7 kB / 0.5181 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1574, allocations: 0 / 0.5181 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1574, allocations: 8 kB / 0.5181 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1574, allocations: 4 kB / 0.5181 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1576, allocations: 83.95 kB / 0.5182 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.1582, allocations: 460.3 kB / 0.5186 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1583, allocations: 114.4 kB / 0.5187 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.1584, allocations: 60.83 kB / 0.5188 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1584, allocations: 0 / 0.5188 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1585, allocations: 38.55 kB / 0.5188 GB, free: 8.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.1585, allocations: 0 / 0.5188 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.00124/0.1597, allocations: 0.8142 MB / 0.5196 GB, free: 7.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1597, allocations: 55.41 kB / 0.5197 GB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.1598, allocations: 134.2 kB / 0.5198 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1598, allocations: 29.7 kB / 0.5198 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.1599, allocations: 112.3 kB / 0.5199 GB, free: 7.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1599, allocations: 75.38 kB / 0.52 GB, free: 7.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.16, allocations: 33.72 kB / 0.52 GB, free: 6.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.16, allocations: 326.8 kB / 0.5203 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.1601, allocations: 43.97 kB / 0.5204 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.1602, allocations: 75.34 kB / 0.5205 GB, free: 6.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1603, allocations: 135.4 kB / 0.5206 GB, free: 6.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1604, allocations: 0 / 0.5206 GB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002836/0.1606, allocations: 202.2 kB / 0.5208 GB, free: 6.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1606, allocations: 11.94 kB / 0.5208 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1607, allocations: 0 / 0.5208 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.1608, allocations: 44.77 kB / 0.5208 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.161, allocations: 31.98 kB / 0.5209 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1621, allocations: 1.748 MB / 0.5226 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.1621, allocations: 8.031 kB / 0.5226 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1621, allocations: 4 kB / 0.5226 GB, free: 4.176 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.885e-05/0.1622, allocations: 129.8 kB / 0.5227 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.1623, allocations: 7.953 kB / 0.5227 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.1623, allocations: 25.17 kB / 0.5227 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1623, allocations: 16.03 kB / 0.5227 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1623, allocations: 0 / 0.5227 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1623, allocations: 0 / 0.5227 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.1629, allocations: 0.5466 MB / 0.5233 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1629, allocations: 0 / 0.5233 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.1631, allocations: 35.92 kB / 0.5233 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.655e-05/0.1631, allocations: 36.86 kB / 0.5234 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1632, allocations: 8 kB / 0.5234 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007228/0.1639, allocations: 1.473 MB / 0.5248 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1639, allocations: 4 kB / 0.5248 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.1642, allocations: 341 kB / 0.5251 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.1643, allocations: 89.08 kB / 0.5252 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1643, allocations: 8 kB / 0.5252 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.1644, allocations: 4 kB / 0.5252 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.1644, allocations: 19.86 kB / 0.5252 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1644, allocations: 8 kB / 0.5252 GB, free: 1.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.1645, allocations: 114.1 kB / 0.5254 GB, free: 1.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1645, allocations: 0 / 0.5254 GB, free: 1.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1648, allocations: 40 kB / 0.5254 GB, free: 1.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.967e-05/0.1649, allocations: 107.2 kB / 0.5255 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.1653, allocations: 251 kB / 0.5257 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1653, allocations: 3.938 kB / 0.5257 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.1655, allocations: 200.9 kB / 0.5259 GB, free: 460 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.1658, allocations: 28.31 kB / 0.526 GB, free: 432 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.1665, allocations: 444.4 kB / 0.5264 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1669, allocations: 0.7205 MB / 0.5271 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.1669, allocations: 9.422 kB / 0.5271 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.167, allocations: 15.44 kB / 0.5271 GB, free: 15.19 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.167, allocations: 0 / 0.5271 GB, free: 15.19 MB / 398.1 MB Notification: Performance of Templates: time 0.005087/0.172, allocations: 1.707 MB / 0.5288 GB, free: 13.48 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.372745407745242]