Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007981/0.0007981, allocations: 95.53 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1744/0.1744, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.157e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.437, allocations: 93.51 MB / 0.593 GB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.4372, allocations: 67.97 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0318/0.469, allocations: 13.87 MB / 0.6066 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4691, allocations: 0 / 0.6066 GB, free: 13.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.111e-05/0.4691, allocations: 27.98 kB / 0.6067 GB, free: 13.72 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001225/0.4703, allocations: 0.91 MB / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4704, allocations: 12.03 kB / 0.6076 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.4705, allocations: 98.78 kB / 0.6077 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007764/0.4713, allocations: 0.5476 MB / 0.6082 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.4714, allocations: 66 kB / 0.6082 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.4715, allocations: 95.94 kB / 0.6083 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.4729, allocations: 0.8542 MB / 0.6092 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.473, allocations: 15.94 kB / 0.6092 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.473, allocations: 36 kB / 0.6092 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.4731, allocations: 24 kB / 0.6092 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009007/0.474, allocations: 495.7 kB / 0.6097 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/0.4774, allocations: 3.651 MB / 0.6133 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.4779, allocations: 213.1 kB / 0.6135 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.478, allocations: 104.7 kB / 0.6136 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.4782, allocations: 251.3 kB / 0.6138 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4783, allocations: 34.56 kB / 0.6139 GB, free: 5.949 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.315e-06/0.4783, allocations: 4 kB / 0.6139 GB, free: 5.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001891/0.4802, allocations: 1.185 MB / 0.615 GB, free: 4.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4802, allocations: 55.41 kB / 0.6151 GB, free: 4.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.4806, allocations: 343.1 kB / 0.6154 GB, free: 4.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4806, allocations: 29.7 kB / 0.6154 GB, free: 4.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.4809, allocations: 478.1 kB / 0.6159 GB, free: 3.742 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.481, allocations: 130.1 kB / 0.616 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.481, allocations: 8 kB / 0.616 GB, free: 3.605 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4811, allocations: 358.8 kB / 0.6164 GB, free: 3.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.4813, allocations: 105.1 kB / 0.6165 GB, free: 3.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.4815, allocations: 298.3 kB / 0.6167 GB, free: 2.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.4818, allocations: 155.4 kB / 0.6169 GB, free: 2.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4818, allocations: 4 kB / 0.6169 GB, free: 2.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006591/0.4825, allocations: 0.4892 MB / 0.6174 GB, free: 2.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4825, allocations: 8.844 kB / 0.6174 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4825, allocations: 4 kB / 0.6174 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.4827, allocations: 40.84 kB / 0.6174 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.4831, allocations: 123.8 kB / 0.6175 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003709/0.4835, allocations: 0.5562 MB / 0.6181 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4837, allocations: 24.03 kB / 0.6181 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.4837, allocations: 35.92 kB / 0.6181 GB, free: 1.293 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.4838, allocations: 136.9 kB / 0.6183 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.4839, allocations: 51.3 kB / 0.6183 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.4844, allocations: 322.2 kB / 0.6186 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4844, allocations: 4 kB / 0.6186 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4844, allocations: 0 / 0.6186 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4844, allocations: 0 / 0.6186 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4858, allocations: 1.05 MB / 0.6197 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4858, allocations: 0 / 0.6197 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.4861, allocations: 76.06 kB / 0.6197 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.4862, allocations: 36.84 kB / 0.6198 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4863, allocations: 19.86 kB / 0.6198 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002784/0.4866, allocations: 0.5446 MB / 0.6203 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4866, allocations: 3.938 kB / 0.6203 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.4872, allocations: 0.607 MB / 0.6209 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.4873, allocations: 124.5 kB / 0.621 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.4874, allocations: 8 kB / 0.621 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.4875, allocations: 8 kB / 0.621 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.4876, allocations: 23.97 kB / 0.6211 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.4876, allocations: 12 kB / 0.6211 GB, free: 14.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002412/0.4879, allocations: 265.2 kB / 0.6213 GB, free: 13.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4879, allocations: 4 kB / 0.6213 GB, free: 13.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.4883, allocations: 131.9 kB / 0.6215 GB, free: 13.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.4885, allocations: 122.2 kB / 0.6216 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.489, allocations: 317.1 kB / 0.6219 GB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4891, allocations: 0 / 0.6219 GB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.4893, allocations: 137.1 kB / 0.622 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4897, allocations: 66.05 kB / 0.6221 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.4917, allocations: 1.324 MB / 0.6234 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4923, allocations: 0.9756 MB / 0.6243 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.4925, allocations: 56.53 kB / 0.6244 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.4925, allocations: 47.38 kB / 0.6244 GB, free: 10.58 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4926, allocations: 3.938 kB / 0.6244 GB, free: 10.58 MB / 442.7 MB Notification: Performance of Templates: time 0.008242/0.5008, allocations: 3.845 MB / 0.6282 GB, free: 6.762 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches