Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000971/0.0009708, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 89.41 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6116/0.6116, allocations: 43.55 MB / 363.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007549/0.000755, allocations: 15.94 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1985, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5389/0.7375, allocations: 86.14 MB / 0.5641 GB, free: 300 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.7379, allocations: 67.97 kB / 0.5641 GB, free: 232 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0366/0.7745, allocations: 7.105 MB / 0.5711 GB, free: 9.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.7746, allocations: 0 / 0.5711 GB, free: 9.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.456e-05/0.7746, allocations: 12 kB / 0.5711 GB, free: 9.145 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001764/0.7764, allocations: 0.6236 MB / 0.5717 GB, free: 8.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.7765, allocations: 8.031 kB / 0.5717 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.7767, allocations: 56.28 kB / 0.5717 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.7771, allocations: 224.4 kB / 0.572 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.7772, allocations: 37.38 kB / 0.572 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7773, allocations: 60.27 kB / 0.5721 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.7787, allocations: 458 kB / 0.5725 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.566e-05/0.7788, allocations: 12.09 kB / 0.5725 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.7789, allocations: 23.94 kB / 0.5725 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.7789, allocations: 12 kB / 0.5725 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.7798, allocations: 259.2 kB / 0.5728 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.7839, allocations: 1.697 MB / 0.5744 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.7849, allocations: 415.8 kB / 0.5748 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.7853, allocations: 155.7 kB / 0.575 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.7854, allocations: 8 kB / 0.575 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.7854, allocations: 46.48 kB / 0.575 GB, free: 4.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.509e-06/0.7854, allocations: 0 / 0.575 GB, free: 4.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.001081/0.7865, allocations: 350.7 kB / 0.5754 GB, free: 4.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.7867, allocations: 276.9 kB / 0.5756 GB, free: 4.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.7871, allocations: 250.6 kB / 0.5759 GB, free: 3.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.7871, allocations: 33.53 kB / 0.5759 GB, free: 3.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.7874, allocations: 247.6 kB / 0.5761 GB, free: 3.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.7875, allocations: 181.4 kB / 0.5763 GB, free: 3.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.7876, allocations: 12 kB / 0.5763 GB, free: 3.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.7878, allocations: 350.9 kB / 0.5767 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.7881, allocations: 117.9 kB / 0.5768 GB, free: 2.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.7887, allocations: 413.6 kB / 0.5772 GB, free: 2.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.79, allocations: 0.5725 MB / 0.5777 GB, free: 1.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.79, allocations: 4 kB / 0.5777 GB, free: 1.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001647/0.7917, allocations: 0.5592 MB / 0.5783 GB, free: 1.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.7917, allocations: 12 kB / 0.5783 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.7918, allocations: 8 kB / 0.5783 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.451e-05/0.7918, allocations: 19.94 kB / 0.5783 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.7929, allocations: 184.4 kB / 0.5785 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/0.793, allocations: 23.92 kB / 0.5785 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.7936, allocations: 59.38 kB / 0.5786 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.7937, allocations: 36 kB / 0.5786 GB, free: 0.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004183/0.7941, allocations: 185.5 kB / 0.5788 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.7945, allocations: 35.62 kB / 0.5788 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.7946, allocations: 41.7 kB / 0.5789 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.7946, allocations: 11.94 kB / 0.5789 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.7947, allocations: 7.984 kB / 0.5789 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.7947, allocations: 4 kB / 0.5789 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.7963, allocations: 417.1 kB / 0.5793 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.7963, allocations: 4 kB / 0.5793 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.7976, allocations: 119.9 kB / 0.5794 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.7976, allocations: 4 kB / 0.5794 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.7977, allocations: 16 kB / 0.5794 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/0.7978, allocations: 8.062 kB / 0.5794 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.7978, allocations: 4 kB / 0.5794 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.7991, allocations: 1.083 MB / 0.5805 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.7993, allocations: 112.6 kB / 0.5806 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.863e-05/0.7994, allocations: 16 kB / 0.5806 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/0.8002, allocations: 11.94 kB / 0.5806 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.8003, allocations: 27.91 kB / 0.5806 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.8004, allocations: 23.92 kB / 0.5807 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002687/0.8007, allocations: 166 kB / 0.5808 GB, free: 14.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8007, allocations: 0 / 0.5808 GB, free: 14.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001611/0.8023, allocations: 139.7 kB / 0.581 GB, free: 14.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002265/0.8026, allocations: 115.2 kB / 0.5811 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.8037, allocations: 349.1 kB / 0.5814 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8037, allocations: 0 / 0.5814 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.804, allocations: 123.8 kB / 0.5815 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.8064, allocations: 93.17 kB / 0.5816 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.8124, allocations: 2.469 MB / 0.584 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.8132, allocations: 0.8317 MB / 0.5848 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.8134, allocations: 39.44 kB / 0.5849 GB, free: 10.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8134, allocations: 0 / 0.5849 GB, free: 10.16 MB / 410.7 MB Notification: Performance of Templates: time 0.01462/0.828, allocations: 4.954 MB / 0.5897 GB, free: 5.219 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches