Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009769/0.0009769, allocations: 97.58 kB / 18.01 MB, free: 5.602 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.001096/0.001096, allocations: 183.9 kB / 18.91 MB, free: 4.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.24 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.00034, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003202/0.1211, allocations: 2.492 MB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1225, allocations: 0.7051 MB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.1228, allocations: 8 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1231, allocations: 39.62 kB / 476.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.1235, allocations: 111.2 kB / 476.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1239, allocations: 75.86 kB / 476.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000568/0.1244, allocations: 422.4 kB / 476.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.1248, allocations: 167 kB / 476.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.1251, allocations: 143.3 kB / 477.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1254, allocations: 163.2 kB / 477.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.1255, allocations: 20 kB / 477.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.1255, allocations: 20 kB / 477.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.1256, allocations: 67.64 kB / 477.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.1258, allocations: 208.7 kB / 477.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1261, allocations: 323.3 kB / 477.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1261, allocations: 0 / 477.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1261, allocations: 0 / 477.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1262, allocations: 0 / 477.8 MB, free: 8.363 MB / 350.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.000951/0.1271, allocations: 0.6083 MB / 478.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1272, allocations: 8.031 kB / 478.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.1273, allocations: 44.47 kB / 478.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.1276, allocations: 288.6 kB / 478.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.1277, allocations: 33.36 kB / 478.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/0.1278, allocations: 40.28 kB / 478.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007066/0.1285, allocations: 393.3 kB / 479.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.1285, allocations: 7.984 kB / 479.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.1285, allocations: 19.94 kB / 479.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1286, allocations: 8 kB / 479.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.1291, allocations: 264.3 kB / 479.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1308, allocations: 1.12 MB / 480.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.1314, allocations: 355.5 kB / 481 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.1318, allocations: 179.2 kB / 481.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1318, allocations: 12 kB / 481.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1318, allocations: 34.56 kB / 481.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.1319, allocations: 4 kB / 481.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.004022/0.1359, allocations: 2.478 MB / 483.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.136, allocations: 114.8 kB / 483.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1362, allocations: 238.6 kB / 484 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.1363, allocations: 41.64 kB / 484.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1364, allocations: 180.7 kB / 484.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1365, allocations: 204.9 kB / 484.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.1366, allocations: 45.7 kB / 484.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1367, allocations: 350.7 kB / 484.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.137, allocations: 137.1 kB / 485 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.1374, allocations: 231.8 kB / 485.2 MB, free: 416 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.138, allocations: 417.9 kB / 485.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.138, allocations: 0 / 485.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001036/0.1391, allocations: 0.5617 MB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.1391, allocations: 8.094 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1391, allocations: 8 kB / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.1395, allocations: 118.5 kB / 486.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1399, allocations: 107.8 kB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.144, allocations: 4.684 MB / 491.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.1442, allocations: 24.02 kB / 491.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.1443, allocations: 24 kB / 491.1 MB, free: 10.01 MB / 366.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.0002309/0.1445, allocations: 169.8 kB / 491.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1446, allocations: 39.47 kB / 491.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.937e-05/0.1447, allocations: 46.17 kB / 491.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1447, allocations: 4 kB / 491.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.1448, allocations: 4 kB / 491.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1448, allocations: 7.984 kB / 491.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.1469, allocations: 1.339 MB / 492.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.1469, allocations: 4 kB / 492.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.1473, allocations: 99.81 kB / 492.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.1476, allocations: 94.61 kB / 492.9 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.1476, allocations: 12 kB / 493 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.1509, allocations: 4.119 MB / 497.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.151, allocations: 0 / 497.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1523, allocations: 0.945 MB / 498 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1525, allocations: 112.6 kB / 498.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.1525, allocations: 16.05 kB / 498.1 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.1528, allocations: 27.98 kB / 498.2 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1529, allocations: 35.95 kB / 498.2 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.153, allocations: 15.98 kB / 498.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.1531, allocations: 174 kB / 498.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1531, allocations: 4 kB / 498.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007046/0.1539, allocations: 116 kB / 498.5 MB, free: 2.094 MB / 366.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.0001461/0.154, allocations: 119.1 kB / 498.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.1554, allocations: 0.7894 MB / 499.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1554, allocations: 0 / 499.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007906/0.1562, allocations: 0.5914 MB / 0.4883 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.157, allocations: 64.27 kB / 0.4884 GB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.159, allocations: 1.378 MB / 0.4897 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.1595, allocations: 0.8168 MB / 0.4905 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1597, allocations: 31.44 kB / 0.4905 GB, free: 14.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1597, allocations: 4 kB / 0.4905 GB, free: 14.15 MB / 382.1 MB Notification: Performance of Templates: time 0.01258/0.1722, allocations: 9.226 MB / 0.4995 GB, free: 4.914 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches