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.001109/0.001109, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001185/0.001185, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.525/1.525, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2357/0.2357, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001726/0.001726, allocations: 69.28 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1556, allocations: 57.78 MB / 440.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.006322/0.162, allocations: 2.834 MB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1641, allocations: 0.7526 MB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1644, allocations: 11.94 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1647, allocations: 67.31 kB / 444.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.1652, allocations: 118.9 kB / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1656, allocations: 95.86 kB / 444.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.1662, allocations: 442.4 kB / 444.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.1667, allocations: 190.4 kB / 445 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.1669, allocations: 159.4 kB / 445.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1672, allocations: 195.1 kB / 445.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/0.1673, allocations: 36 kB / 445.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.1674, allocations: 43.94 kB / 445.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.1675, allocations: 83.62 kB / 445.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1678, allocations: 203 kB / 445.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.1683, allocations: 442.4 kB / 446.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1683, allocations: 0 / 446.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1683, allocations: 0 / 446.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1684, allocations: 0 / 446.1 MB, free: 1.281 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.001292/0.1697, allocations: 0.6745 MB / 446.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.1697, allocations: 11.89 kB / 446.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1699, allocations: 44.47 kB / 446.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1703, allocations: 284.5 kB / 447.1 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.1703, allocations: 29.38 kB / 447.2 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.1704, allocations: 44.28 kB / 447.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1716, allocations: 397.3 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.1716, allocations: 4 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.1717, allocations: 16 kB / 447.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1717, allocations: 8 kB / 447.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009462/0.1727, allocations: 239.8 kB / 447.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.1755, allocations: 1.108 MB / 449 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1766, allocations: 347.5 kB / 449.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.1771, allocations: 182.4 kB / 449.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.1772, allocations: 4 kB / 449.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.1773, allocations: 42.56 kB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 3.086e-06/0.1773, allocations: 0 / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.007336/0.1846, allocations: 2.444 MB / 452 MB, free: 10.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.1848, allocations: 110.8 kB / 452.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.1854, allocations: 234.6 kB / 452.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.1854, allocations: 37.7 kB / 452.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.1856, allocations: 184.6 kB / 452.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.186, allocations: 209 kB / 452.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.1862, allocations: 90.25 kB / 452.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.1864, allocations: 346.7 kB / 453.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.1869, allocations: 129.1 kB / 453.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.1876, allocations: 227.8 kB / 453.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.1888, allocations: 398 kB / 453.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1889, allocations: 0 / 453.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002097/0.191, allocations: 0.5615 MB / 454.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.191, allocations: 8 kB / 454.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.191, allocations: 0 / 454.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.1917, allocations: 130.9 kB / 454.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.1925, allocations: 95.83 kB / 454.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007422/0.2, allocations: 5.209 MB / 459.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.2005, allocations: 20.02 kB / 459.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.2006, allocations: 20 kB / 459.9 MB, free: 2.426 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.0003448/0.2009, allocations: 173.7 kB / 460.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.2011, allocations: 43.58 kB / 460.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.2013, allocations: 46.19 kB / 460.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.2013, allocations: 11.98 kB / 460.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-05/0.2013, allocations: 8.125 kB / 460.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.2014, allocations: 4 kB / 460.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.2049, allocations: 1.324 MB / 461.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2049, allocations: 0 / 461.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.2057, allocations: 99.88 kB / 461.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005786/0.2063, allocations: 94.61 kB / 461.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.2064, allocations: 19.88 kB / 461.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/0.2125, allocations: 4.423 MB / 466.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.2126, allocations: 0 / 466.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.2151, allocations: 0.927 MB / 467.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.2153, allocations: 104.7 kB / 467.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.2154, allocations: 16.05 kB / 467.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.216, allocations: 16 kB / 467.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.2162, allocations: 51.81 kB / 467.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.2163, allocations: 16 kB / 467.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000343/0.2166, allocations: 170 kB / 467.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2167, allocations: 4 kB / 467.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001384/0.2181, allocations: 120 kB / 467.6 MB, free: 10.21 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.0002607/0.2183, allocations: 115.1 kB / 467.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.2209, allocations: 0.7924 MB / 468.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2209, allocations: 0 / 468.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.2223, allocations: 0.577 MB / 469.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.2236, allocations: 63.34 kB / 469.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.2268, allocations: 1.078 MB / 470.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.2273, allocations: 0.8241 MB / 471 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.2274, allocations: 35.25 kB / 471.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.2275, allocations: 31.44 kB / 471.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2275, allocations: 0 / 471.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of Templates: time 0.009467/0.237, allocations: 4.47 MB / 475.6 MB, free: 2.09 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 -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","/var/lib/jenkins/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