Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 106.6 kB / 16.41 MB, free: 6.031 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.001427/0.001427, allocations: 187.1 kB / 17.34 MB, free: 5.633 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.576/1.576, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2038/0.2038, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001486/0.001486, allocations: 63.91 kB / 441.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1569, allocations: 57.79 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.006258/0.1632, allocations: 2.608 MB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1646, allocations: 0.6865 MB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1647, allocations: 7.938 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.1649, allocations: 47.52 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1651, allocations: 83.27 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1654, allocations: 91.81 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1657, allocations: 326.6 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1659, allocations: 93.77 kB / 0.4917 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1661, allocations: 127.5 kB / 0.4918 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1663, allocations: 131.4 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.1663, allocations: 24 kB / 0.492 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.1664, allocations: 20 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.1664, allocations: 51.78 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1666, allocations: 143.3 kB / 0.4922 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1669, allocations: 306.8 kB / 0.4925 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1669, allocations: 4 kB / 0.4925 GB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1669, allocations: 0 / 0.4925 GB, free: 7.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1669, allocations: 4 kB / 0.4925 GB, free: 7.082 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009505/0.1679, allocations: 0.5769 MB / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1679, allocations: 11.89 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.311e-05/0.168, allocations: 40.47 kB / 0.4931 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1684, allocations: 259.7 kB / 0.4933 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1684, allocations: 24.88 kB / 0.4934 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.1685, allocations: 32.28 kB / 0.4934 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.1689, allocations: 282.2 kB / 0.4937 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.169, allocations: 4 kB / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.169, allocations: 15.98 kB / 0.4937 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.169, allocations: 7.938 kB / 0.4937 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.1694, allocations: 179.8 kB / 0.4939 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.1711, allocations: 1.321 MB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.1715, allocations: 238.4 kB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1717, allocations: 103.5 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1717, allocations: 4 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1718, allocations: 38.55 kB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.1718, allocations: 0 / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002593/0.1744, allocations: 1.561 MB / 0.497 GB, free: 1.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.1745, allocations: 132.5 kB / 0.4972 GB, free: 1.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1747, allocations: 221 kB / 0.4974 GB, free: 1.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.1747, allocations: 37.7 kB / 0.4974 GB, free: 1.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1749, allocations: 184.1 kB / 0.4976 GB, free: 1.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/0.175, allocations: 118.3 kB / 0.4977 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.1751, allocations: 66.12 kB / 0.4978 GB, free: 1.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1752, allocations: 342.8 kB / 0.4981 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1755, allocations: 96.81 kB / 0.4982 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1758, allocations: 236.9 kB / 0.4984 GB, free: 400 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.1766, allocations: 377.1 kB / 0.4988 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1766, allocations: 0 / 0.4988 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007326/0.1773, allocations: 392.7 kB / 0.4991 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1773, allocations: 8 kB / 0.4991 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1774, allocations: 4 kB / 0.4992 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.1774, allocations: 8.312 kB / 0.4992 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1778, allocations: 104.2 kB / 0.4993 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.1778, allocations: 11.98 kB / 0.4993 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.178, allocations: 35.92 kB / 0.4993 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.178, allocations: 12 kB / 0.4993 GB, free: 15.39 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.1782, allocations: 153.7 kB / 0.4995 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1783, allocations: 31.66 kB / 0.4995 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.522e-05/0.1784, allocations: 33.7 kB / 0.4995 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1784, allocations: 4 kB / 0.4995 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1784, allocations: 4 kB / 0.4995 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.1784, allocations: 7.984 kB / 0.4995 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.1798, allocations: 0.9815 MB / 0.5005 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1798, allocations: 288 / 0.5005 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.1802, allocations: 83.88 kB / 0.5006 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1803, allocations: 0 / 0.5006 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.1803, allocations: 15.88 kB / 0.5006 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1803, allocations: 4 kB / 0.5006 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1803, allocations: 0 / 0.5006 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1813, allocations: 0.7366 MB / 0.5013 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1814, allocations: 104.8 kB / 0.5014 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.1815, allocations: 12 kB / 0.5014 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.1817, allocations: 19.97 kB / 0.5014 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.1818, allocations: 23.97 kB / 0.5015 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1819, allocations: 8 kB / 0.5015 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.182, allocations: 164.5 kB / 0.5016 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.182, allocations: 0 / 0.5016 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.1825, allocations: 64 kB / 0.5017 GB, free: 12.83 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.1826, allocations: 107.9 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006307/0.1832, allocations: 279.9 kB / 0.5021 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1833, allocations: 0 / 0.5021 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.1835, allocations: 128.1 kB / 0.5022 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.1842, allocations: 56.02 kB / 0.5022 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1857, allocations: 0.8723 MB / 0.5031 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.1862, allocations: 0.7681 MB / 0.5038 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1863, allocations: 30.95 kB / 0.5039 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.1864, allocations: 31.42 kB / 0.5039 GB, free: 10.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1864, allocations: 3.938 kB / 0.5039 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Templates: time 0.005783/0.1922, allocations: 2.453 MB / 0.5063 GB, free: 8.047 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches