Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 111.6 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2332/0.2332, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB 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.00148/0.001481, allocations: 73.31 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.13, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003573/0.1336, allocations: 2.827 MB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1347, allocations: 0.7487 MB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1349, allocations: 8 kB / 445.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1351, allocations: 67.31 kB / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1353, allocations: 118.9 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1356, allocations: 99.8 kB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.1359, allocations: 438.4 kB / 446.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.1362, allocations: 190.1 kB / 446.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1363, allocations: 167.4 kB / 446.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1365, allocations: 191.1 kB / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.1366, allocations: 36 kB / 446.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.375e-05/0.1366, allocations: 36 kB / 446.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.1367, allocations: 83.67 kB / 447 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1369, allocations: 207 kB / 447.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.1372, allocations: 446.3 kB / 447.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1372, allocations: 0 / 447.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1372, allocations: 0 / 447.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1372, allocations: 4 kB / 447.6 MB, free: 0.5078 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009685/0.1382, allocations: 0.6668 MB / 448.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1383, allocations: 11.89 kB / 448.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.1383, allocations: 48.41 kB / 448.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.1388, allocations: 304.5 kB / 448.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.1388, allocations: 29.38 kB / 448.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.1389, allocations: 40.28 kB / 448.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.1396, allocations: 385.3 kB / 449.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.1396, allocations: 3.938 kB / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.1397, allocations: 16 kB / 449.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1397, allocations: 12 kB / 449.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.1402, allocations: 243.9 kB / 449.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.1419, allocations: 1.096 MB / 450.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.1425, allocations: 347.5 kB / 450.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.1428, allocations: 175.2 kB / 450.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.1428, allocations: 15.94 kB / 451 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1429, allocations: 38.5 kB / 451 MB, free: 12.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/0.1429, allocations: 0 / 451 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003832/0.1467, allocations: 2.443 MB / 453.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.1468, allocations: 114.8 kB / 453.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.1471, allocations: 238.6 kB / 453.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1472, allocations: 33.7 kB / 453.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1473, allocations: 192.6 kB / 454 MB, free: 9.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.1475, allocations: 205 kB / 454.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1476, allocations: 82.25 kB / 454.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1478, allocations: 354.7 kB / 454.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.1481, allocations: 129.1 kB / 454.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.1484, allocations: 231.8 kB / 455 MB, free: 8.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006019/0.149, allocations: 398 kB / 455.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.149, allocations: 8 kB / 455.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000968/0.15, allocations: 0.546 MB / 455.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.15, allocations: 13.34 kB / 455.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1501, allocations: 4 kB / 455.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003831/0.1504, allocations: 118.5 kB / 456.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.1508, allocations: 95.89 kB / 456.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004597/0.1554, allocations: 5.221 MB / 461.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1557, allocations: 20.09 kB / 461.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.1557, allocations: 20 kB / 461.4 MB, free: 1.645 MB / 334.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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.1559, allocations: 165.8 kB / 461.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1561, allocations: 35.53 kB / 461.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/0.1562, allocations: 50.17 kB / 461.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1562, allocations: 12 kB / 461.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.1562, allocations: 3.938 kB / 461.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1562, allocations: 7.938 kB / 461.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1583, allocations: 1.317 MB / 463 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1583, allocations: 3.938 kB / 463 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.1587, allocations: 103.8 kB / 463.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.1591, allocations: 94.61 kB / 463.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.1591, allocations: 11.94 kB / 463.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003707/0.1628, allocations: 4.423 MB / 467.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1629, allocations: 4.031 kB / 467.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.1644, allocations: 0.9233 MB / 468.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.1645, allocations: 108.6 kB / 468.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.1645, allocations: 16.05 kB / 468.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.1648, allocations: 20 kB / 468.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1649, allocations: 43.88 kB / 468.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.1649, allocations: 16 kB / 468.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1651, allocations: 181.9 kB / 468.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1651, allocations: 0 / 468.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.1658, allocations: 116 kB / 469 MB, free: 9.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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 0.0001515/0.166, allocations: 119.2 kB / 469.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.1675, allocations: 0.7731 MB / 469.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1676, allocations: 0 / 469.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.1684, allocations: 0.5728 MB / 470.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.1691, allocations: 60.47 kB / 470.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1714, allocations: 1.077 MB / 471.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.1722, allocations: 0.8241 MB / 472.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.1723, allocations: 35.28 kB / 472.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.1724, allocations: 31.42 kB / 472.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of SimCode: time 1.664e-06/0.1724, allocations: 0 / 472.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of Templates: time 0.01069/0.1831, allocations: 4.451 MB / 477 MB, free: 1.363 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches