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.002084/0.002083, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.966/1.966, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001159/0.001158, allocations: 91.02 kB / 270.9 MB, free: 8.363 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.5112/0.5112, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004599, allocations: 8 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5664, allocations: 86.11 MB / 0.5628 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5667, allocations: 67.97 kB / 0.5629 GB, free: 0.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02987/0.5966, allocations: 7.1 MB / 0.5698 GB, free: 9.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5966, allocations: 0 / 0.5698 GB, free: 9.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.5967, allocations: 12 kB / 0.5698 GB, free: 9.465 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.001349/0.598, allocations: 0.6234 MB / 0.5704 GB, free: 8.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5981, allocations: 8.031 kB / 0.5704 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.5982, allocations: 62.77 kB / 0.5705 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.5985, allocations: 219.2 kB / 0.5707 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.5986, allocations: 37 kB / 0.5707 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5987, allocations: 55.89 kB / 0.5708 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.5997, allocations: 455.1 kB / 0.5712 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.5998, allocations: 7.906 kB / 0.5712 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.5999, allocations: 20 kB / 0.5713 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.5999, allocations: 16.33 kB / 0.5713 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.6006, allocations: 255.7 kB / 0.5715 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.6041, allocations: 1.703 MB / 0.5732 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.6049, allocations: 419.7 kB / 0.5736 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.605, allocations: 4 kB / 0.5736 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.605, allocations: 46.45 kB / 0.5736 GB, free: 5.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 5.941e-06/0.605, allocations: 4 kB / 0.5736 GB, free: 5.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.00109/0.6061, allocations: 357.2 kB / 0.574 GB, free: 4.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.6063, allocations: 269 kB / 0.5742 GB, free: 4.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.6066, allocations: 217.8 kB / 0.5744 GB, free: 4.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.6067, allocations: 33.7 kB / 0.5745 GB, free: 4.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.6069, allocations: 302.5 kB / 0.5748 GB, free: 4.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.6071, allocations: 182.2 kB / 0.5749 GB, free: 3.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.6071, allocations: 16 kB / 0.5749 GB, free: 3.848 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6073, allocations: 338.8 kB / 0.5753 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.6076, allocations: 114 kB / 0.5754 GB, free: 3.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.6082, allocations: 409.6 kB / 0.5758 GB, free: 2.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.6086, allocations: 184.8 kB / 0.5759 GB, free: 2.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.6086, allocations: 4 kB / 0.5759 GB, free: 2.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001309/0.61, allocations: 0.5546 MB / 0.5765 GB, free: 2.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.61, allocations: 8 kB / 0.5765 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.61, allocations: 15.95 kB / 0.5765 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.6101, allocations: 16 kB / 0.5765 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.6112, allocations: 184.2 kB / 0.5767 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/0.6113, allocations: 15.94 kB / 0.5767 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.6117, allocations: 63.38 kB / 0.5768 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.6118, allocations: 36 kB / 0.5768 GB, free: 1.789 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.0003092/0.6121, allocations: 189.5 kB / 0.577 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.6124, allocations: 39.62 kB / 0.577 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.6125, allocations: 41.64 kB / 0.5771 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6126, allocations: 11.95 kB / 0.5771 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.6126, allocations: 4 kB / 0.5771 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6126, allocations: 3.984 kB / 0.5771 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.6142, allocations: 421.2 kB / 0.5775 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6142, allocations: 4.625 kB / 0.5775 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.6154, allocations: 119.9 kB / 0.5776 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.6155, allocations: 4 kB / 0.5776 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.6155, allocations: 15.98 kB / 0.5776 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-05/0.6156, allocations: 11.94 kB / 0.5776 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.6156, allocations: 3.953 kB / 0.5776 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.6169, allocations: 1.171 MB / 0.5788 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.617, allocations: 116.6 kB / 0.5789 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.6171, allocations: 15.98 kB / 0.5789 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.6177, allocations: 8 kB / 0.5789 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.6178, allocations: 35.95 kB / 0.579 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.6179, allocations: 12 kB / 0.579 GB, free: 15.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002522/0.6182, allocations: 177.9 kB / 0.5791 GB, free: 15.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6182, allocations: 0 / 0.5791 GB, free: 15.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001168/0.6193, allocations: 135.7 kB / 0.5793 GB, free: 15.12 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.0002176/0.6196, allocations: 114.9 kB / 0.5794 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.6205, allocations: 340.8 kB / 0.5797 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6205, allocations: 4.812 kB / 0.5797 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.6208, allocations: 136.8 kB / 0.5798 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6221, allocations: 80.16 kB / 0.5799 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.6269, allocations: 2.461 MB / 0.5823 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.6275, allocations: 0.8473 MB / 0.5831 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.6277, allocations: 35.44 kB / 0.5832 GB, free: 11.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6277, allocations: 0 / 0.5832 GB, free: 11.04 MB / 410.7 MB Notification: Performance of Templates: time 0.01168/0.6394, allocations: 4.857 MB / 0.5879 GB, free: 6.199 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