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.001129/0.001129, allocations: 107.3 kB / 18.4 MB, free: 4.566 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.001077/0.001077, allocations: 188 kB / 19.34 MB, free: 3.641 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.379/1.379, allocations: 222.9 MB / 243 MB, free: 15.09 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.2209/0.2209, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 64.3 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1411, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003798/0.145, allocations: 2.828 MB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1462, allocations: 0.7089 MB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1463, allocations: 15.94 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1465, allocations: 55.39 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1467, allocations: 126.9 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.147, allocations: 95.77 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.1474, allocations: 446.4 kB / 475 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.1478, allocations: 194 kB / 475.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.148, allocations: 163.4 kB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1482, allocations: 195.1 kB / 475.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.1482, allocations: 36 kB / 475.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.1483, allocations: 36 kB / 475.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.1484, allocations: 83.73 kB / 475.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1486, allocations: 199 kB / 475.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.149, allocations: 446.4 kB / 476.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.149, allocations: 4 kB / 476.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.149, allocations: 0 / 476.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.149, allocations: 0 / 476.3 MB, free: 8.062 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.0009525/0.15, allocations: 0.6707 MB / 477 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.15, allocations: 12.03 kB / 477 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.1501, allocations: 44.38 kB / 477 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1505, allocations: 288.6 kB / 477.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.1506, allocations: 29.38 kB / 477.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.1506, allocations: 36.38 kB / 477.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.1513, allocations: 389.3 kB / 477.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.1513, allocations: 19.83 kB / 477.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.1514, allocations: 19.94 kB / 477.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1514, allocations: 8 kB / 477.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.1518, allocations: 239.8 kB / 478 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1534, allocations: 1.097 MB / 479.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.1539, allocations: 347.5 kB / 479.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.1542, allocations: 182.4 kB / 479.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1542, allocations: 8 kB / 479.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1543, allocations: 34.56 kB / 479.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/0.1543, allocations: 0 / 479.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003773/0.158, allocations: 2.44 MB / 482.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.1581, allocations: 118.8 kB / 482.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.1584, allocations: 238.6 kB / 482.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1585, allocations: 37.7 kB / 482.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1586, allocations: 180.7 kB / 482.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.1587, allocations: 205 kB / 482.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1589, allocations: 82.25 kB / 483 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.159, allocations: 350.7 kB / 483.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.1593, allocations: 125.1 kB / 483.4 MB, free: 392 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.1596, allocations: 231.8 kB / 483.7 MB, free: 124 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.1602, allocations: 401.9 kB / 484 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1602, allocations: 0 / 484 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009789/0.1612, allocations: 0.5576 MB / 484.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1612, allocations: 7.438 kB / 484.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1612, allocations: 4 kB / 484.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.1616, allocations: 134.8 kB / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.162, allocations: 91.83 kB / 484.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.1664, allocations: 5.205 MB / 490 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.1669, allocations: 23.98 kB / 490.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.1669, allocations: 20 kB / 490.1 MB, free: 9.215 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.0002761/0.1672, allocations: 165.8 kB / 490.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1673, allocations: 39.61 kB / 490.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.1674, allocations: 46.19 kB / 490.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1674, allocations: 4 kB / 490.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/0.1675, allocations: 11.92 kB / 490.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1675, allocations: 0 / 490.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.1695, allocations: 1.321 MB / 491.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.1695, allocations: 4 kB / 491.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.1699, allocations: 95.88 kB / 491.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.1702, allocations: 94.52 kB / 491.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1702, allocations: 15.94 kB / 491.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.1733, allocations: 4.427 MB / 496.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1733, allocations: 64 / 496.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1746, allocations: 0.9331 MB / 497.2 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.1747, allocations: 104.7 kB / 497.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.1748, allocations: 16.05 kB / 497.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.1751, allocations: 16 kB / 497.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1752, allocations: 51.81 kB / 497.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1752, allocations: 12 kB / 497.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1754, allocations: 178 kB / 497.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1754, allocations: 0 / 497.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006905/0.1761, allocations: 120 kB / 497.7 MB, free: 1.008 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.000128/0.1762, allocations: 111.2 kB / 497.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1775, allocations: 0.7772 MB / 498.6 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1775, allocations: 3.938 kB / 498.6 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.1783, allocations: 0.5764 MB / 499.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.179, allocations: 67.03 kB / 499.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1807, allocations: 1.069 MB / 0.4886 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1811, allocations: 0.828 MB / 0.4894 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.1813, allocations: 31.27 kB / 0.4894 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.1813, allocations: 35.42 kB / 0.4895 GB, free: 13.37 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1813, allocations: 0 / 0.4895 GB, free: 13.37 MB / 382.1 MB Notification: Performance of Templates: time 0.009143/0.1905, allocations: 4.453 MB / 0.4938 GB, free: 8.922 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 -s cvode -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