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.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.001689/0.001689, allocations: 105.7 kB / 18.32 MB, free: 3.98 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.001729/0.001729, allocations: 184.5 kB / 21.5 MB, free: 0.8164 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.75/1.75, allocations: 207.6 MB / 232.1 MB, free: 3.145 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.4401/0.4401, allocations: 44.23 MB / 328.4 MB, free: 6.234 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.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.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.002112/0.002112, allocations: 72.98 kB / 465.5 MB, free: 45.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1242, allocations: 60.99 MB / 0.5142 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004042/0.1282, allocations: 3.093 MB / 0.5172 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.129, allocations: 423.8 kB / 0.5176 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1291, allocations: 7.031 kB / 0.5176 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1292, allocations: 65.77 kB / 0.5177 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.1295, allocations: 171 kB / 0.5178 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1298, allocations: 98.25 kB / 0.5179 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.1301, allocations: 0.5416 MB / 0.5185 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1303, allocations: 120.8 kB / 0.5186 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.1305, allocations: 211.3 kB / 0.5188 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1307, allocations: 219 kB / 0.519 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.1307, allocations: 40 kB / 0.519 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.1308, allocations: 44 kB / 0.5191 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.1308, allocations: 83.7 kB / 0.5191 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.131, allocations: 250.9 kB / 0.5194 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.1313, allocations: 0.5291 MB / 0.5199 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1314, allocations: 0 / 0.5199 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1314, allocations: 0 / 0.5199 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1314, allocations: 0 / 0.5199 GB, free: 7.395 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007733/0.1321, allocations: 0.7247 MB / 0.5206 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1322, allocations: 15.84 kB / 0.5206 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.1322, allocations: 60.59 kB / 0.5207 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1325, allocations: 291.5 kB / 0.521 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1325, allocations: 33.38 kB / 0.521 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.1326, allocations: 64.25 kB / 0.5211 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.1331, allocations: 462.7 kB / 0.5215 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1331, allocations: 8.141 kB / 0.5215 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.1332, allocations: 23.94 kB / 0.5215 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1332, allocations: 15.94 kB / 0.5215 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1335, allocations: 259.7 kB / 0.5218 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1351, allocations: 1.688 MB / 0.5234 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.1355, allocations: 399.8 kB / 0.5238 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1356, allocations: 155.8 kB / 0.524 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1356, allocations: 7.938 kB / 0.524 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1357, allocations: 46.55 kB / 0.524 GB, free: 2.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.1357, allocations: 0 / 0.524 GB, free: 2.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005783/0.1362, allocations: 365.2 kB / 0.5244 GB, free: 2.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.1363, allocations: 277.4 kB / 0.5246 GB, free: 2.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1365, allocations: 250.9 kB / 0.5249 GB, free: 1.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1365, allocations: 33.7 kB / 0.5249 GB, free: 1.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.1366, allocations: 248.2 kB / 0.5251 GB, free: 1.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.1366, allocations: 178.5 kB / 0.5253 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.1367, allocations: 114.6 kB / 0.5254 GB, free: 1.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.1368, allocations: 350.8 kB / 0.5258 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1369, allocations: 121.9 kB / 0.5259 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.1372, allocations: 425.6 kB / 0.5263 GB, free: 292 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.1377, allocations: 0.5615 MB / 0.5268 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1377, allocations: 4 kB / 0.5268 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008609/0.1386, allocations: 0.5753 MB / 0.5274 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1386, allocations: 8 kB / 0.5274 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.1386, allocations: 12 kB / 0.5274 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.1387, allocations: 12 kB / 0.5274 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.1392, allocations: 183.7 kB / 0.5276 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.1392, allocations: 23.88 kB / 0.5276 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.1395, allocations: 64 kB / 0.5277 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.1395, allocations: 36 kB / 0.5277 GB, free: 14.67 MB / 398.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.000197/0.1397, allocations: 185.5 kB / 0.5279 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.1399, allocations: 48.14 kB / 0.5279 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.14, allocations: 37.7 kB / 0.528 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.14, allocations: 11.94 kB / 0.528 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.14, allocations: 0 / 0.528 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.14, allocations: 4 kB / 0.528 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.141, allocations: 425.2 kB / 0.5284 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.141, allocations: 4 kB / 0.5284 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.1416, allocations: 123.9 kB / 0.5285 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1416, allocations: 4 kB / 0.5285 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.1416, allocations: 11.98 kB / 0.5285 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.1416, allocations: 7.938 kB / 0.5285 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.1416, allocations: 7.938 kB / 0.5285 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009535/0.1426, allocations: 1.075 MB / 0.5296 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.1427, allocations: 116.8 kB / 0.5297 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.1427, allocations: 12 kB / 0.5297 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.1431, allocations: 11.94 kB / 0.5297 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1432, allocations: 39.89 kB / 0.5298 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1432, allocations: 12 kB / 0.5298 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1433, allocations: 174 kB / 0.5299 GB, free: 12.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1433, allocations: 0 / 0.5299 GB, free: 12.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008117/0.1441, allocations: 135.8 kB / 0.5301 GB, free: 12.14 MB / 398.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.0002963/0.1444, allocations: 115.1 kB / 0.5302 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.1451, allocations: 329.5 kB / 0.5305 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1451, allocations: 4.312 kB / 0.5305 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.1453, allocations: 123.8 kB / 0.5306 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.1465, allocations: 106.2 kB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.1495, allocations: 1.975 MB / 0.5326 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.15, allocations: 0.8275 MB / 0.5335 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1502, allocations: 48.16 kB / 0.5335 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.1503, allocations: 31.44 kB / 0.5335 GB, free: 8.512 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1503, allocations: 0 / 0.5335 GB, free: 8.512 MB / 398.1 MB Notification: Performance of Templates: time 0.009312/0.1596, allocations: 4.383 MB / 0.5378 GB, free: 4.152 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/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: 5.798582932911813]