Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 105.3 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 190.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 227.9 MB, free: 4.324 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3649/0.3649, allocations: 43.51 MB / 320.8 MB, free: 9.059 MB / 254.1 MB " [Timeout remaining time 179] 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 75.91 kB / 450.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4262, allocations: 57.78 MB / 0.4964 GB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008287/0.4345, allocations: 5.764 MB / 0.502 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.4394, allocations: 2.319 MB / 0.5043 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.4414, allocations: 41.69 kB / 0.5043 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.4421, allocations: 229.3 kB / 0.5045 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007875/0.443, allocations: 180.8 kB / 0.5047 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.4443, allocations: 456 kB / 0.5051 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.4458, allocations: 1.119 MB / 0.5062 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.4466, allocations: 0.6165 MB / 0.5068 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.4473, allocations: 363.5 kB / 0.5072 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.4477, allocations: 392.1 kB / 0.5075 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.4478, allocations: 95.25 kB / 0.5076 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.4482, allocations: 153.9 kB / 0.5078 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.4484, allocations: 215.1 kB / 0.508 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.4488, allocations: 475.6 kB / 0.5084 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.4503, allocations: 1.272 MB / 0.5097 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4503, allocations: 0 / 0.5097 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4504, allocations: 5.406 kB / 0.5097 GB, free: 9.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.4504, allocations: 0 / 0.5097 GB, free: 9.633 MB / 382.1 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.001695/0.4521, allocations: 1.147 MB / 0.5108 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4521, allocations: 21.55 kB / 0.5108 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.4523, allocations: 106.1 kB / 0.5109 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008564/0.4532, allocations: 0.6023 MB / 0.5115 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.4532, allocations: 66.53 kB / 0.5116 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.4534, allocations: 95.08 kB / 0.5117 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.4548, allocations: 0.8858 MB / 0.5125 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.4548, allocations: 14.56 kB / 0.5126 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.4549, allocations: 37.12 kB / 0.5126 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.4549, allocations: 27.47 kB / 0.5126 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.4559, allocations: 0.5153 MB / 0.5131 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/0.4597, allocations: 3.623 MB / 0.5167 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007383/0.4605, allocations: 224.7 kB / 0.5169 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.4607, allocations: 104.2 kB / 0.517 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.461, allocations: 245.5 kB / 0.5172 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.4611, allocations: 36.59 kB / 0.5172 GB, free: 3.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 4.359e-06/0.4611, allocations: 0 / 0.5172 GB, free: 3.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.003049/0.4641, allocations: 1.321 MB / 0.5185 GB, free: 2.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.4642, allocations: 58.38 kB / 0.5186 GB, free: 2.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.4649, allocations: 403.5 kB / 0.519 GB, free: 2.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.4649, allocations: 30.92 kB / 0.519 GB, free: 2.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.4653, allocations: 481.9 kB / 0.5195 GB, free: 1.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.4654, allocations: 139.7 kB / 0.5196 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4656, allocations: 101.2 kB / 0.5197 GB, free: 1.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4657, allocations: 357.2 kB / 0.52 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.4659, allocations: 114.8 kB / 0.5201 GB, free: 1.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.4663, allocations: 311.6 kB / 0.5204 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.4668, allocations: 450 kB / 0.5209 GB, free: 444 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4668, allocations: 2.219 kB / 0.5209 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007954/0.4676, allocations: 0.5202 MB / 0.5214 GB, free: 84 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4677, allocations: 8 kB / 0.5214 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4677, allocations: 8 kB / 0.5214 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.4679, allocations: 40.78 kB / 0.5214 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.4684, allocations: 127.8 kB / 0.5216 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004846/0.4689, allocations: 0.5604 MB / 0.5221 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.4691, allocations: 19.94 kB / 0.5221 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.4692, allocations: 27.98 kB / 0.5221 GB, free: 15.27 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004189/0.4696, allocations: 233.6 kB / 0.5224 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.4697, allocations: 51.61 kB / 0.5224 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006842/0.4704, allocations: 331.3 kB / 0.5227 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4704, allocations: 4 kB / 0.5227 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4704, allocations: 0 / 0.5227 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4704, allocations: 3.984 kB / 0.5227 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.4722, allocations: 1.058 MB / 0.5238 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4722, allocations: 0 / 0.5238 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.4726, allocations: 79.89 kB / 0.5239 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.4728, allocations: 32.78 kB / 0.5239 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.4728, allocations: 12 kB / 0.5239 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/0.4733, allocations: 0.5484 MB / 0.5244 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.4733, allocations: 4.25 kB / 0.5244 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.4742, allocations: 0.5682 MB / 0.525 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.4743, allocations: 116.8 kB / 0.5251 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.4743, allocations: 8 kB / 0.5251 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.4745, allocations: 12 kB / 0.5251 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.4746, allocations: 23.91 kB / 0.5251 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.4746, allocations: 20.17 kB / 0.5252 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000331/0.475, allocations: 267.2 kB / 0.5254 GB, free: 11.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.475, allocations: 3.938 kB / 0.5254 GB, free: 11.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007088/0.4757, allocations: 128 kB / 0.5255 GB, free: 11.61 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002619/0.476, allocations: 111.2 kB / 0.5256 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007857/0.4768, allocations: 333.1 kB / 0.526 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4768, allocations: 0 / 0.526 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.4771, allocations: 141.1 kB / 0.5261 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.4777, allocations: 73.38 kB / 0.5262 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.4812, allocations: 1.653 MB / 0.5278 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/0.4822, allocations: 0.9522 MB / 0.5287 GB, free: 8.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.4825, allocations: 72.45 kB / 0.5288 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4826, allocations: 39.44 kB / 0.5288 GB, free: 8.164 MB / 398.1 MB Notification: Performance of SimCode: time 1.834e-06/0.4826, allocations: 3.938 kB / 0.5288 GB, free: 8.16 MB / 398.1 MB Notification: Performance of Templates: time 0.01298/0.4956, allocations: 4.235 MB / 0.533 GB, free: 3.934 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.623521978966892]