Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001501/0.001501, allocations: 100.4 kB / 20.44 MB, free: 1.395 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.00188/0.00188, allocations: 219 kB / 23.75 MB, free: 4.559 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.499/1.499, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.2337/0.2337, allocations: 44.25 MB / 331.1 MB, free: 9.41 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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [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.002618/0.002618, allocations: 75.91 kB / 468.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1254, allocations: 61.04 MB / 0.5174 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00475/0.1301, allocations: 2.81 MB / 0.5201 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1311, allocations: 414.5 kB / 0.5205 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1314, allocations: 11.88 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1315, allocations: 67.31 kB / 0.5206 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.1319, allocations: 170.5 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1322, allocations: 103.9 kB / 0.5208 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.1327, allocations: 0.5325 MB / 0.5214 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.133, allocations: 117.2 kB / 0.5215 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.1333, allocations: 207.3 kB / 0.5217 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.1335, allocations: 187 kB / 0.5219 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1336, allocations: 40 kB / 0.5219 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.1337, allocations: 40 kB / 0.5219 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-05/0.1338, allocations: 103.6 kB / 0.522 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.134, allocations: 203.1 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.1346, allocations: 0.5368 MB / 0.5227 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1346, allocations: 0 / 0.5227 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1346, allocations: 0 / 0.5227 GB, free: 1.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1346, allocations: 4 kB / 0.5227 GB, free: 1.172 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001007/0.1356, allocations: 0.6494 MB / 0.5234 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1356, allocations: 8.031 kB / 0.5234 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1357, allocations: 56.61 kB / 0.5234 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.1361, allocations: 241.5 kB / 0.5237 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.1361, allocations: 33.38 kB / 0.5237 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.1362, allocations: 56.33 kB / 0.5238 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.1369, allocations: 458.7 kB / 0.5242 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.1369, allocations: 8.141 kB / 0.5242 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.137, allocations: 23.94 kB / 0.5242 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.137, allocations: 12 kB / 0.5242 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1374, allocations: 255.7 kB / 0.5245 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.1395, allocations: 1.508 MB / 0.526 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.1401, allocations: 395.4 kB / 0.5263 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1403, allocations: 139.7 kB / 0.5265 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1403, allocations: 15.98 kB / 0.5265 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.1404, allocations: 50.5 kB / 0.5265 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.335e-06/0.1404, allocations: 0 / 0.5265 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007437/0.1411, allocations: 350.1 kB / 0.5269 GB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.1413, allocations: 277 kB / 0.5271 GB, free: 12.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.1415, allocations: 253.9 kB / 0.5274 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1416, allocations: 33.7 kB / 0.5274 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1418, allocations: 252.1 kB / 0.5276 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.1419, allocations: 186.4 kB / 0.5278 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.1421, allocations: 114.6 kB / 0.5279 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1422, allocations: 346.8 kB / 0.5283 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1425, allocations: 125.9 kB / 0.5284 GB, free: 11.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.1429, allocations: 417.6 kB / 0.5288 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/0.1436, allocations: 0.5732 MB / 0.5293 GB, free: 9.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1436, allocations: 4 kB / 0.5293 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000897/0.1445, allocations: 0.567 MB / 0.5299 GB, free: 9.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1446, allocations: 13 kB / 0.5299 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.1446, allocations: 8 kB / 0.5299 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.1446, allocations: 23.98 kB / 0.5299 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.1451, allocations: 172.4 kB / 0.5301 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.1452, allocations: 27.8 kB / 0.5301 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.1454, allocations: 63.58 kB / 0.5302 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.1455, allocations: 32 kB / 0.5302 GB, free: 8.855 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002047/0.1457, allocations: 185.5 kB / 0.5304 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.1459, allocations: 35.81 kB / 0.5304 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.211e-05/0.1459, allocations: 45.7 kB / 0.5305 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.146, allocations: 11.98 kB / 0.5305 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.146, allocations: 7.938 kB / 0.5305 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.146, allocations: 4 kB / 0.5305 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008721/0.1469, allocations: 297 kB / 0.5308 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1469, allocations: 4 kB / 0.5308 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.1474, allocations: 123.9 kB / 0.5309 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.1474, allocations: 4 kB / 0.5309 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.1474, allocations: 12 kB / 0.5309 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1474, allocations: 4 kB / 0.5309 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1474, allocations: 7.938 kB / 0.5309 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.1484, allocations: 1.083 MB / 0.532 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1485, allocations: 47.58 kB / 0.532 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.1485, allocations: 15.98 kB / 0.532 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.1489, allocations: 8 kB / 0.5321 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1489, allocations: 31.89 kB / 0.5321 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.149, allocations: 15.94 kB / 0.5321 GB, free: 6.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1491, allocations: 161.2 kB / 0.5323 GB, free: 6.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1491, allocations: 0 / 0.5323 GB, free: 6.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008138/0.1499, allocations: 135.8 kB / 0.5324 GB, free: 6.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.0002132/0.1501, allocations: 119.2 kB / 0.5325 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.1507, allocations: 326 kB / 0.5328 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1507, allocations: 320 / 0.5328 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1509, allocations: 132.1 kB / 0.5329 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.1521, allocations: 96.86 kB / 0.533 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.1549, allocations: 2.011 MB / 0.535 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1551, allocations: 232.3 kB / 0.5352 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.1552, allocations: 31.44 kB / 0.5352 GB, free: 3.555 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1552, allocations: 0 / 0.5352 GB, free: 3.555 MB / 414.1 MB Notification: Performance of Templates: time 0.2125/0.3677, allocations: 5.308 MB / 0.5404 GB, free: 26.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.37992299022153]