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.0009525/0.0009526, allocations: 171.5 kB / 16.76 MB, free: 4.926 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.411/1.411, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007322/0.0007321, allocations: 81.42 kB / 271.3 MB, free: 8.25 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.307/0.307, allocations: 43.56 MB / 363.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 15.98 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4701, allocations: 86.15 MB / 0.5641 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4704, allocations: 63.97 kB / 0.5641 GB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01861/0.489, allocations: 7.113 MB / 0.5711 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4891, allocations: 0 / 0.5711 GB, free: 8.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.4891, allocations: 8 kB / 0.5711 GB, free: 8.555 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.0009064/0.49, allocations: 0.6275 MB / 0.5717 GB, free: 7.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4901, allocations: 8.031 kB / 0.5717 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.406e-05/0.4902, allocations: 56.28 kB / 0.5718 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4904, allocations: 228.4 kB / 0.572 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.4904, allocations: 29.38 kB / 0.572 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.4905, allocations: 60.28 kB / 0.5721 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.4912, allocations: 458 kB / 0.5725 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.4912, allocations: 8.094 kB / 0.5725 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.4913, allocations: 23.94 kB / 0.5725 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4913, allocations: 16 kB / 0.5726 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.4917, allocations: 251.7 kB / 0.5728 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.4939, allocations: 1.705 MB / 0.5745 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.4945, allocations: 415.4 kB / 0.5749 GB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.4947, allocations: 151.7 kB / 0.575 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4947, allocations: 12 kB / 0.575 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.4948, allocations: 50.48 kB / 0.5751 GB, free: 4.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.4948, allocations: 0 / 0.5751 GB, free: 4.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007474/0.4956, allocations: 357.7 kB / 0.5754 GB, free: 3.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.4957, allocations: 273.4 kB / 0.5757 GB, free: 3.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.496, allocations: 246.6 kB / 0.5759 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4961, allocations: 34.25 kB / 0.5759 GB, free: 3.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4962, allocations: 243.6 kB / 0.5762 GB, free: 2.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.4964, allocations: 181.4 kB / 0.5763 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.4964, allocations: 15.94 kB / 0.5763 GB, free: 2.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4966, allocations: 346.8 kB / 0.5767 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.4968, allocations: 125.8 kB / 0.5768 GB, free: 2.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.4972, allocations: 413.6 kB / 0.5772 GB, free: 1.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.4979, allocations: 0.5723 MB / 0.5778 GB, free: 1.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4979, allocations: 0 / 0.5778 GB, free: 1.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008465/0.4987, allocations: 0.5642 MB / 0.5783 GB, free: 496 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4988, allocations: 11.98 kB / 0.5783 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4988, allocations: 12 kB / 0.5783 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.4988, allocations: 12 kB / 0.5783 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.4994, allocations: 184.3 kB / 0.5785 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.4994, allocations: 15.94 kB / 0.5785 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.4997, allocations: 63.78 kB / 0.5786 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.4997, allocations: 36 kB / 0.5786 GB, free: 160 kB / 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.0002401/0.5, allocations: 189.5 kB / 0.5788 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5002, allocations: 39.56 kB / 0.5788 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.5002, allocations: 41.7 kB / 0.5789 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5003, allocations: 11.94 kB / 0.5789 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.5003, allocations: 4 kB / 0.5789 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.5003, allocations: 4 kB / 0.5789 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5013, allocations: 417.1 kB / 0.5793 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5013, allocations: 0 / 0.5793 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.5019, allocations: 127.9 kB / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.5019, allocations: 4 kB / 0.5794 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.5019, allocations: 16 kB / 0.5794 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5019, allocations: 7.922 kB / 0.5794 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.502, allocations: 4 kB / 0.5795 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.5029, allocations: 1.068 MB / 0.5805 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.503, allocations: 116.6 kB / 0.5806 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.503, allocations: 12 kB / 0.5806 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.5034, allocations: 15.94 kB / 0.5806 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.5034, allocations: 35.89 kB / 0.5807 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.5035, allocations: 12 kB / 0.5807 GB, free: 13.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.5036, allocations: 170 kB / 0.5808 GB, free: 13.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5037, allocations: 0 / 0.5808 GB, free: 13.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000805/0.5045, allocations: 135.7 kB / 0.581 GB, free: 13.66 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.0001886/0.5047, allocations: 123.1 kB / 0.5811 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.5052, allocations: 341.4 kB / 0.5814 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.5052, allocations: 256 / 0.5814 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.5054, allocations: 127.8 kB / 0.5815 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5065, allocations: 95.48 kB / 0.5816 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.5098, allocations: 2.449 MB / 0.584 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.5103, allocations: 0.8278 MB / 0.5848 GB, free: 9.637 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000252/0.5105, allocations: 48.16 kB / 0.5849 GB, free: 9.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.5106, allocations: 39.44 kB / 0.5849 GB, free: 9.555 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5106, allocations: 0 / 0.5849 GB, free: 9.555 MB / 410.7 MB Notification: Performance of Templates: time 0.007801/0.5184, allocations: 3.796 MB / 0.5886 GB, free: 5.801 MB / 410.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/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_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches