Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 81.75 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1436, allocations: 62.46 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004803/0.1485, allocations: 2.863 MB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1501, allocations: 0.7907 MB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1504, allocations: 15.88 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1506, allocations: 63.31 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.151, allocations: 126.9 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1513, allocations: 123.8 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.1518, allocations: 438.4 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.1522, allocations: 186.1 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.1525, allocations: 175.4 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.1527, allocations: 191.1 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.1528, allocations: 36 kB / 485.1 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1529, allocations: 44 kB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.153, allocations: 79.69 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.1532, allocations: 203 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.1537, allocations: 454.6 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1538, allocations: 0 / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1538, allocations: 0 / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1538, allocations: 4 kB / 485.9 MB, free: 15.43 MB / 366.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.001142/0.1549, allocations: 0.6706 MB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.155, allocations: 15.97 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.1553, allocations: 64.44 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1557, allocations: 311.4 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.1558, allocations: 25.38 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.1558, allocations: 40.38 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.1565, allocations: 381.3 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.1565, allocations: 11.89 kB / 487.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.1566, allocations: 16 kB / 487.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1566, allocations: 8 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.1571, allocations: 251.8 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.1591, allocations: 1.105 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.1598, allocations: 347.5 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.1601, allocations: 182.4 kB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1601, allocations: 4 kB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1602, allocations: 42.5 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.1602, allocations: 0 / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.004128/0.1643, allocations: 2.455 MB / 491.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.1644, allocations: 110.8 kB / 491.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1647, allocations: 242.7 kB / 492.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.1647, allocations: 33.7 kB / 492.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1649, allocations: 184.7 kB / 492.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.165, allocations: 205 kB / 492.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1652, allocations: 90.25 kB / 492.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1653, allocations: 350.7 kB / 492.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.1656, allocations: 125.1 kB / 493.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.166, allocations: 227.8 kB / 493.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.1667, allocations: 402 kB / 493.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1667, allocations: 0 / 493.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001071/0.1678, allocations: 0.5615 MB / 494.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1678, allocations: 6.5 kB / 494.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1678, allocations: 4 kB / 494.3 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/0.1682, allocations: 126.4 kB / 494.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.1686, allocations: 95.98 kB / 494.5 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/0.1734, allocations: 5.222 MB / 499.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.1736, allocations: 16.06 kB / 499.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.1737, allocations: 24 kB / 499.7 MB, free: 0.5234 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.000234/0.1739, allocations: 168.8 kB / 499.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.174, allocations: 31.62 kB / 499.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.643e-05/0.1741, allocations: 50.17 kB / 500 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1741, allocations: 8 kB / 500 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.1742, allocations: 3.938 kB / 500 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1742, allocations: 8 kB / 500 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.1763, allocations: 1.327 MB / 0.4896 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1763, allocations: 0 / 0.4896 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.1768, allocations: 99.88 kB / 0.4897 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/0.1771, allocations: 94.45 kB / 0.4898 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.1771, allocations: 11.94 kB / 0.4898 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.1809, allocations: 4.438 MB / 0.4941 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.181, allocations: 0 / 0.4941 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.1825, allocations: 0.9232 MB / 0.495 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1826, allocations: 108.6 kB / 0.4951 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.1826, allocations: 16.06 kB / 0.4951 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.1829, allocations: 16 kB / 0.4951 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.183, allocations: 43.88 kB / 0.4952 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.183, allocations: 23.92 kB / 0.4952 GB, free: 8.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1832, allocations: 178 kB / 0.4954 GB, free: 8.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1832, allocations: 3.938 kB / 0.4954 GB, free: 8.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007143/0.184, allocations: 120 kB / 0.4955 GB, free: 8.297 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.0001573/0.1841, allocations: 115.2 kB / 0.4956 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.1856, allocations: 0.7926 MB / 0.4964 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1856, allocations: 0 / 0.4964 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008532/0.1865, allocations: 0.5763 MB / 0.4969 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.1872, allocations: 65.12 kB / 0.497 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1891, allocations: 1.094 MB / 0.4981 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.1896, allocations: 0.8202 MB / 0.4989 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.1898, allocations: 39.25 kB / 0.4989 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.1899, allocations: 31.44 kB / 0.4989 GB, free: 4.617 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1899, allocations: 0 / 0.4989 GB, free: 4.617 MB / 382.1 MB Notification: Performance of Templates: time 0.01057/0.2004, allocations: 4.455 MB / 0.5033 GB, free: 172 kB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches