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.0008753/0.0008752, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009238/0.0009238, allocations: 181.8 kB / 16.92 MB, free: 6.922 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.631/1.631, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4384/0.4384, allocations: 43.57 MB / 315 MB, free: 8.801 MB / 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.0005872/0.0005872, allocations: 12 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1554, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00417/0.1597, allocations: 2.504 MB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1612, allocations: 0.7449 MB / 446.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1614, allocations: 7.938 kB / 446.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1616, allocations: 47.62 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1619, allocations: 107.2 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1622, allocations: 75.92 kB / 446.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.1627, allocations: 426.4 kB / 447.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.1631, allocations: 167 kB / 447.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1634, allocations: 143.3 kB / 447.6 MB, free: 8.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1636, allocations: 167.2 kB / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.1637, allocations: 20 kB / 447.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.1638, allocations: 20 kB / 447.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.1639, allocations: 59.7 kB / 447.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.1641, allocations: 212.6 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.1646, allocations: 414.6 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1646, allocations: 0 / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1646, allocations: 4 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1646, allocations: 0 / 448.5 MB, free: 7.562 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001039/0.1657, allocations: 0.6083 MB / 449.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1657, allocations: 12.03 kB / 449.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/0.1658, allocations: 44.47 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1662, allocations: 284.5 kB / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.1663, allocations: 29.38 kB / 449.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.1663, allocations: 40.38 kB / 449.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.1671, allocations: 397.3 kB / 449.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.1671, allocations: 3.906 kB / 449.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.1672, allocations: 16 kB / 449.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1672, allocations: 8 kB / 449.9 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.1677, allocations: 263.8 kB / 450.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1694, allocations: 1.117 MB / 451.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.1699, allocations: 367.4 kB / 451.7 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.1702, allocations: 174.5 kB / 451.8 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1703, allocations: 7.938 kB / 451.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1703, allocations: 46.55 kB / 451.9 MB, free: 3.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.1703, allocations: 0 / 451.9 MB, free: 3.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.004029/0.1744, allocations: 2.475 MB / 454.4 MB, free: 1.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.1745, allocations: 110.8 kB / 454.5 MB, free: 1.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.1748, allocations: 242.6 kB / 454.7 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.1748, allocations: 37.7 kB / 454.8 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.175, allocations: 184.6 kB / 454.9 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1751, allocations: 193 kB / 455.1 MB, free: 436 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.1752, allocations: 53.69 kB / 455.2 MB, free: 376 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1754, allocations: 346.7 kB / 455.5 MB, free: 20 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2879/0.4633, allocations: 134 kB / 455.6 MB, free: 46.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.4637, allocations: 234 kB / 455.9 MB, free: 45.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.4643, allocations: 409.5 kB / 456.3 MB, free: 45.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4643, allocations: 2.875 kB / 456.3 MB, free: 45.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009882/0.4653, allocations: 0.5665 MB / 456.8 MB, free: 45.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4653, allocations: 5.406 kB / 456.9 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4654, allocations: 3.641 kB / 456.9 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.4657, allocations: 130.1 kB / 457 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.4661, allocations: 99.97 kB / 457.1 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.469, allocations: 4.691 MB / 461.8 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.4693, allocations: 29.81 kB / 461.8 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.4693, allocations: 17.12 kB / 461.8 MB, free: 41.74 MB / 382.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.0002329/0.4696, allocations: 162.6 kB / 462 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.4697, allocations: 41.77 kB / 462 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.4698, allocations: 50.02 kB / 462.1 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4698, allocations: 6.516 kB / 462.1 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.4698, allocations: 6.969 kB / 462.1 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.4698, allocations: 6.391 kB / 462.1 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.4717, allocations: 1.347 MB / 463.4 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4717, allocations: 0 / 463.4 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.4722, allocations: 101.5 kB / 463.5 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.4724, allocations: 99.81 kB / 463.6 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.4725, allocations: 12.58 kB / 463.6 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/0.4749, allocations: 4.115 MB / 467.8 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4749, allocations: 2.875 kB / 467.8 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4764, allocations: 0.9367 MB / 468.7 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.4765, allocations: 113.9 kB / 468.8 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.4765, allocations: 14.5 kB / 468.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.4768, allocations: 20.17 kB / 468.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4769, allocations: 47.42 kB / 468.9 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.477, allocations: 14.97 kB / 468.9 MB, free: 36.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.4771, allocations: 174.7 kB / 469.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4772, allocations: 0 / 469.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007538/0.4779, allocations: 122.2 kB / 469.2 MB, free: 36.66 MB / 382.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.0001354/0.4781, allocations: 106.6 kB / 469.3 MB, free: 36.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4792, allocations: 0.7891 MB / 470.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4793, allocations: 0 / 470.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.4799, allocations: 0.5873 MB / 470.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.4807, allocations: 61.52 kB / 470.7 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4824, allocations: 1.348 MB / 472.1 MB, free: 35.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.4828, allocations: 0.8213 MB / 472.9 MB, free: 34.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.483, allocations: 36.33 kB / 472.9 MB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.483, allocations: 27.03 kB / 473 MB, free: 34.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4831, allocations: 0 / 473 MB, free: 34.3 MB / 382.1 MB Notification: Performance of Templates: time 0.00802/0.4911, allocations: 4.168 MB / 477.1 MB, free: 34.04 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches