Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001284/0.001284, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000814/0.000814, allocations: 90.28 kB / 261.8 MB, free: 1.605 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.2767/0.2767, allocations: 43.49 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.692e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5845, allocations: 85.36 MB / 0.5493 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5849, allocations: 71.7 kB / 0.5493 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01594/0.6008, allocations: 7.056 MB / 0.5562 GB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6009, allocations: 0 / 0.5562 GB, free: 3.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.6009, allocations: 8 kB / 0.5562 GB, free: 3.797 MB / 362.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.0007013/0.6016, allocations: 0.6095 MB / 0.5568 GB, free: 3.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.6017, allocations: 8.031 kB / 0.5568 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.6018, allocations: 47.44 kB / 0.5569 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.6019, allocations: 226.5 kB / 0.5571 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.602, allocations: 19.94 kB / 0.5571 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.6021, allocations: 35.34 kB / 0.5572 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003754/0.6024, allocations: 206.3 kB / 0.5574 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.603, allocations: 384.1 kB / 0.5577 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.603, allocations: 7.906 kB / 0.5577 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.603, allocations: 4 kB / 0.5577 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.6031, allocations: 15.95 kB / 0.5578 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.6048, allocations: 1.616 MB / 0.5593 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.6051, allocations: 376.5 kB / 0.5597 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.6053, allocations: 144.5 kB / 0.5598 GB, free: 340 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6053, allocations: 8 kB / 0.5598 GB, free: 332 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.6053, allocations: 50.17 kB / 0.5599 GB, free: 276 kB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.6053, allocations: 3.5 kB / 0.5599 GB, free: 276 kB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004856/0.6058, allocations: 245.1 kB / 0.5601 GB, free: 68 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.606, allocations: 264.7 kB / 0.5604 GB, free: 15.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.6062, allocations: 199.5 kB / 0.5606 GB, free: 15.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.6062, allocations: 29.7 kB / 0.5606 GB, free: 15.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.6064, allocations: 243.6 kB / 0.5608 GB, free: 15.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6065, allocations: 183 kB / 0.561 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.6065, allocations: 0 / 0.561 GB, free: 15.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6067, allocations: 352 kB / 0.5613 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.6069, allocations: 93.44 kB / 0.5614 GB, free: 14.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.6072, allocations: 383.8 kB / 0.5618 GB, free: 14.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.6075, allocations: 165.1 kB / 0.5619 GB, free: 14.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6075, allocations: 8 kB / 0.562 GB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006739/0.6082, allocations: 480.4 kB / 0.5624 GB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.6082, allocations: 8.969 kB / 0.5624 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.6082, allocations: 12 kB / 0.5624 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.6083, allocations: 20 kB / 0.5625 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.6088, allocations: 178.2 kB / 0.5626 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.6088, allocations: 23.92 kB / 0.5626 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.6091, allocations: 51.28 kB / 0.5627 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.6091, allocations: 31.5 kB / 0.5627 GB, free: 13.51 MB / 378.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 () * 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.0001134/0.6093, allocations: 123.5 kB / 0.5628 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.6094, allocations: 43.02 kB / 0.5629 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.6095, allocations: 32.64 kB / 0.5629 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6095, allocations: 12 kB / 0.5629 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6095, allocations: 3.938 kB / 0.5629 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.6095, allocations: 7.984 kB / 0.5629 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008034/0.6104, allocations: 351 kB / 0.5633 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6104, allocations: 0 / 0.5633 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.6109, allocations: 127.3 kB / 0.5634 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.611, allocations: 4 kB / 0.5634 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.611, allocations: 11.45 kB / 0.5634 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.611, allocations: 11.92 kB / 0.5634 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.611, allocations: 4 kB / 0.5634 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.6119, allocations: 1.139 MB / 0.5645 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.612, allocations: 108.7 kB / 0.5646 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.612, allocations: 7.312 kB / 0.5646 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.6124, allocations: 4 kB / 0.5646 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.6125, allocations: 31.02 kB / 0.5647 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.6125, allocations: 14.69 kB / 0.5647 GB, free: 11.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.6126, allocations: 155.5 kB / 0.5648 GB, free: 11.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6126, allocations: 0 / 0.5648 GB, free: 11.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007602/0.6134, allocations: 119.6 kB / 0.565 GB, free: 11.29 MB / 378.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 () * 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.0001526/0.6135, allocations: 106.4 kB / 0.5651 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.614, allocations: 299.9 kB / 0.5653 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.614, allocations: 4 kB / 0.5653 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.6141, allocations: 112.5 kB / 0.5655 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.6149, allocations: 75.8 kB / 0.5655 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.6175, allocations: 1.964 MB / 0.5674 GB, free: 8.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.618, allocations: 0.847 MB / 0.5683 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.6182, allocations: 43.44 kB / 0.5683 GB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.6183, allocations: 35.44 kB / 0.5683 GB, free: 7.895 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6183, allocations: 0 / 0.5683 GB, free: 7.895 MB / 378.7 MB Notification: Performance of Templates: time 0.007195/0.6255, allocations: 3.552 MB / 0.5718 GB, free: 4.387 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/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_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches