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.001448/0.001448, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.506/1.506, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009121/0.000912, allocations: 101.7 kB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3382/0.3382, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.311, allocations: 61.9 MB / 0.5095 GB, free: 37.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.4267, allocations: 93.58 MB / 0.6009 GB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.427, allocations: 79.92 kB / 0.601 GB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03261/0.4596, allocations: 13.89 MB / 0.6146 GB, free: 3.465 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4597, allocations: 0 / 0.6146 GB, free: 3.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.165e-05/0.4597, allocations: 27.98 kB / 0.6146 GB, free: 3.438 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.001432/0.4612, allocations: 0.9639 MB / 0.6156 GB, free: 2.422 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4612, allocations: 12.03 kB / 0.6156 GB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.4614, allocations: 98.78 kB / 0.6157 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.4622, allocations: 0.5607 MB / 0.6162 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.4622, allocations: 66 kB / 0.6163 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4624, allocations: 91.89 kB / 0.6164 GB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.4638, allocations: 0.8736 MB / 0.6172 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.4639, allocations: 11.89 kB / 0.6172 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.4639, allocations: 36 kB / 0.6173 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.464, allocations: 24 kB / 0.6173 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.4649, allocations: 0.519 MB / 0.6178 GB, free: 28 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.4687, allocations: 3.642 MB / 0.6213 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.4692, allocations: 226.2 kB / 0.6216 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.4694, allocations: 247.3 kB / 0.6218 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4694, allocations: 34.56 kB / 0.6218 GB, free: 11.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.584e-06/0.4694, allocations: 3.938 kB / 0.6218 GB, free: 11.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002333/0.4718, allocations: 1.314 MB / 0.6231 GB, free: 10.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.4718, allocations: 59.41 kB / 0.6232 GB, free: 10.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.4722, allocations: 345 kB / 0.6235 GB, free: 9.828 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.4722, allocations: 33.7 kB / 0.6235 GB, free: 9.789 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.4725, allocations: 466.1 kB / 0.624 GB, free: 9.324 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.293e-05/0.4726, allocations: 138.1 kB / 0.6241 GB, free: 9.188 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.4727, allocations: 8 kB / 0.6241 GB, free: 9.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4728, allocations: 358.8 kB / 0.6245 GB, free: 8.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.473, allocations: 117.1 kB / 0.6246 GB, free: 8.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.4733, allocations: 302.9 kB / 0.6249 GB, free: 8.324 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.4736, allocations: 168.5 kB / 0.625 GB, free: 8.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4736, allocations: 4 kB / 0.625 GB, free: 8.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007177/0.4743, allocations: 0.5131 MB / 0.6255 GB, free: 7.633 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4744, allocations: 8 kB / 0.6255 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4744, allocations: 8 kB / 0.6255 GB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.4746, allocations: 40.78 kB / 0.6256 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.4749, allocations: 123.8 kB / 0.6257 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003558/0.4753, allocations: 0.5605 MB / 0.6262 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.4755, allocations: 20 kB / 0.6263 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.4755, allocations: 24 kB / 0.6263 GB, free: 6.824 MB / 442.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 () * Number of clocked 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 0.0003244/0.4759, allocations: 233 kB / 0.6265 GB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.476, allocations: 51.39 kB / 0.6266 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.4766, allocations: 344.4 kB / 0.6269 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4766, allocations: 4 kB / 0.6269 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4766, allocations: 0 / 0.6269 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4766, allocations: 0 / 0.6269 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.478, allocations: 1.061 MB / 0.6279 GB, free: 5.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.478, allocations: 3.984 kB / 0.6279 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.4783, allocations: 79.91 kB / 0.628 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.4784, allocations: 37 kB / 0.628 GB, free: 4.934 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.4785, allocations: 11.98 kB / 0.6281 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002897/0.4788, allocations: 0.5523 MB / 0.6286 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4788, allocations: 0 / 0.6286 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.4795, allocations: 0.6301 MB / 0.6292 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.4796, allocations: 116.5 kB / 0.6293 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.4797, allocations: 8 kB / 0.6293 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.4798, allocations: 12 kB / 0.6293 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.4799, allocations: 20.06 kB / 0.6294 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.4799, allocations: 19.92 kB / 0.6294 GB, free: 3.453 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.4802, allocations: 267.2 kB / 0.6296 GB, free: 3.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4802, allocations: 0 / 0.6296 GB, free: 3.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005481/0.4807, allocations: 139.9 kB / 0.6298 GB, free: 3.059 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 () * Number of clocked 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.0001568/0.4809, allocations: 111.2 kB / 0.6299 GB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005956/0.4815, allocations: 335.9 kB / 0.6302 GB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4815, allocations: 0 / 0.6302 GB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.4818, allocations: 138.5 kB / 0.6303 GB, free: 2.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.4822, allocations: 76.44 kB / 0.6304 GB, free: 2.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.4846, allocations: 2.051 MB / 0.6324 GB, free: 316 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.4852, allocations: 0.9717 MB / 0.6333 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.4854, allocations: 71.7 kB / 0.6334 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.4855, allocations: 39.44 kB / 0.6335 GB, free: 15.21 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4855, allocations: 0 / 0.6335 GB, free: 15.21 MB / 458.7 MB Notification: Performance of Templates: time 0.008519/0.494, allocations: 3.834 MB / 0.6372 GB, free: 11.39 MB / 458.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