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.001057/0.001057, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.329/1.329, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.001009/0.001009, allocations: 103.2 kB / 291.9 MB, free: 10.94 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.4005/0.4005, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 51.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.392, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006022/0.3981, allocations: 5.736 MB / 0.512 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.4019, allocations: 2.246 MB / 0.5142 GB, free: 32.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000733/0.4026, allocations: 44.88 kB / 0.5142 GB, free: 32.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.4031, allocations: 175.1 kB / 0.5144 GB, free: 32.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.4035, allocations: 150.2 kB / 0.5145 GB, free: 32.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.4043, allocations: 397.1 kB / 0.5149 GB, free: 32.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008319/0.4052, allocations: 1.052 MB / 0.5159 GB, free: 31.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006491/0.4058, allocations: 0.5601 MB / 0.5165 GB, free: 31.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.4062, allocations: 319.6 kB / 0.5168 GB, free: 31.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.4066, allocations: 370.3 kB / 0.5171 GB, free: 30.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.4067, allocations: 52.94 kB / 0.5172 GB, free: 30.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.407, allocations: 113.6 kB / 0.5173 GB, free: 30.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.4072, allocations: 171.5 kB / 0.5175 GB, free: 30.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.4075, allocations: 435.3 kB / 0.5179 GB, free: 30.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008644/0.4084, allocations: 1.152 MB / 0.519 GB, free: 29.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4084, allocations: 0 / 0.519 GB, free: 29.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.4084, allocations: 0 / 0.519 GB, free: 29.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4084, allocations: 0 / 0.519 GB, free: 29.97 MB / 378.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.001473/0.4099, allocations: 1.133 MB / 0.5201 GB, free: 29.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.41, allocations: 13.97 kB / 0.5201 GB, free: 29.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.4101, allocations: 102.9 kB / 0.5202 GB, free: 29.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.4108, allocations: 0.5679 MB / 0.5208 GB, free: 28.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.4109, allocations: 71.47 kB / 0.5209 GB, free: 28.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.411, allocations: 89.84 kB / 0.5209 GB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.4122, allocations: 0.8912 MB / 0.5218 GB, free: 28.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.4122, allocations: 2.844 kB / 0.5218 GB, free: 28.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.4123, allocations: 40.62 kB / 0.5218 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4123, allocations: 25.89 kB / 0.5219 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/0.4132, allocations: 0.5252 MB / 0.5224 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.4159, allocations: 3.638 MB / 0.5259 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.4165, allocations: 226.7 kB / 0.5262 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.4166, allocations: 105.8 kB / 0.5263 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.4169, allocations: 246.2 kB / 0.5265 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.4169, allocations: 38.5 kB / 0.5265 GB, free: 24.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.4169, allocations: 2.688 kB / 0.5265 GB, free: 24.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002043/0.419, allocations: 1.295 MB / 0.5278 GB, free: 23.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.419, allocations: 60.59 kB / 0.5279 GB, free: 23.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.4193, allocations: 400.1 kB / 0.5282 GB, free: 23.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.4194, allocations: 33.7 kB / 0.5283 GB, free: 23.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.4196, allocations: 468.1 kB / 0.5287 GB, free: 23.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.4197, allocations: 139.5 kB / 0.5288 GB, free: 23.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4198, allocations: 100.3 kB / 0.5289 GB, free: 23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.4198, allocations: 358.3 kB / 0.5293 GB, free: 22.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.42, allocations: 114.1 kB / 0.5294 GB, free: 22.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.4203, allocations: 308.5 kB / 0.5297 GB, free: 22.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.4208, allocations: 462.1 kB / 0.5301 GB, free: 21.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4208, allocations: 2.719 kB / 0.5301 GB, free: 21.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006651/0.4215, allocations: 0.5129 MB / 0.5306 GB, free: 21.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4215, allocations: 8.531 kB / 0.5306 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.4215, allocations: 5.531 kB / 0.5306 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.4217, allocations: 38.48 kB / 0.5307 GB, free: 21.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.4221, allocations: 123.3 kB / 0.5308 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002912/0.4224, allocations: 0.5622 MB / 0.5313 GB, free: 21.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.4226, allocations: 20.09 kB / 0.5314 GB, free: 21.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.4226, allocations: 29.75 kB / 0.5314 GB, free: 21.14 MB / 378.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 (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.0002196/0.4229, allocations: 230.7 kB / 0.5316 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.4229, allocations: 53.69 kB / 0.5317 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005319/0.4235, allocations: 329.3 kB / 0.532 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4235, allocations: 6.625 kB / 0.532 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4235, allocations: 0 / 0.532 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4235, allocations: 0 / 0.532 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.4247, allocations: 1.057 MB / 0.533 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4247, allocations: 2.906 kB / 0.533 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.425, allocations: 83.11 kB / 0.5331 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.4251, allocations: 32.58 kB / 0.5331 GB, free: 20.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.4252, allocations: 9.781 kB / 0.5331 GB, free: 20.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002049/0.4254, allocations: 0.5485 MB / 0.5337 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4254, allocations: 0 / 0.5337 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.4294, allocations: 4.05 MB / 0.5376 GB, free: 16.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.4295, allocations: 114.6 kB / 0.5377 GB, free: 16.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.4295, allocations: 19 kB / 0.5378 GB, free: 16.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4297, allocations: 10.81 kB / 0.5378 GB, free: 16.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.4298, allocations: 20.27 kB / 0.5378 GB, free: 16.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.4298, allocations: 13.38 kB / 0.5378 GB, free: 16.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.4301, allocations: 271.3 kB / 0.5381 GB, free: 16.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4301, allocations: 3.312 kB / 0.5381 GB, free: 16.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006814/0.4308, allocations: 162.1 kB / 0.5382 GB, free: 16.03 MB / 378.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 (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.0001555/0.431, allocations: 117.5 kB / 0.5383 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.4315, allocations: 328.1 kB / 0.5386 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4315, allocations: 448 / 0.5386 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4318, allocations: 141.9 kB / 0.5388 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.4322, allocations: 76.92 kB / 0.5389 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.435, allocations: 2.379 MB / 0.5412 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.4354, allocations: 0.9666 MB / 0.5421 GB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.4357, allocations: 68.2 kB / 0.5422 GB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.4358, allocations: 47.33 kB / 0.5422 GB, free: 13.21 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4358, allocations: 192 / 0.5422 GB, free: 13.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01044/0.4462, allocations: 4.609 MB / 0.5467 GB, free: 12.82 MB / 378.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@2/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