Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2482/0.2482, allocations: 34.25 MB / 296.1 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.307e-05, allocations: 3.078 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00632/0.006353, allocations: 5.537 MB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.01168, allocations: 2.372 MB / 333.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.01303, allocations: 55.5 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.01363, allocations: 222 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.01429, allocations: 202 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.01568, allocations: 470.7 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01691, allocations: 1.142 MB / 335.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.01753, allocations: 405.9 kB / 335.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008217/0.01835, allocations: 0.5769 MB / 336.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.01875, allocations: 283.1 kB / 336.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.01887, allocations: 100 kB / 336.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.01919, allocations: 167.8 kB / 336.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.01938, allocations: 223.2 kB / 337 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.01968, allocations: 307.3 kB / 337.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.02053, allocations: 0.7471 MB / 338 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.02053, allocations: 0 / 338 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02053, allocations: 0 / 338 MB, free: 10.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.02054, allocations: 0 / 338 MB, free: 10.84 MB / 314.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.0009649/0.02151, allocations: 1.062 MB / 339.1 MB, free: 9.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.02155, allocations: 8.031 kB / 339.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.02176, allocations: 160.8 kB / 339.2 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.02257, allocations: 467 kB / 339.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.02261, allocations: 70.12 kB / 339.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.02268, allocations: 95.95 kB / 339.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.02332, allocations: 0.6796 MB / 340.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.02335, allocations: 11.89 kB / 340.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.02338, allocations: 44 kB / 340.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.0234, allocations: 20 kB / 340.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.02372, allocations: 240.5 kB / 340.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.02562, allocations: 2.856 MB / 343.7 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.02589, allocations: 144 kB / 343.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.02594, allocations: 44.84 kB / 343.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/0.02601, allocations: 15.98 kB / 343.9 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.02603, allocations: 38.56 kB / 343.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/0.02603, allocations: 0 / 343.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001132/0.02716, allocations: 0.8131 MB / 344.8 MB, free: 3.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.02719, allocations: 55.41 kB / 344.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.02742, allocations: 387 kB / 345.2 MB, free: 3.324 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.02744, allocations: 29.7 kB / 345.2 MB, free: 3.289 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.0276, allocations: 440.4 kB / 345.6 MB, free: 2.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.02766, allocations: 138.8 kB / 345.8 MB, free: 2.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.02774, allocations: 98.25 kB / 345.9 MB, free: 2.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.02784, allocations: 374.7 kB / 346.2 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.02789, allocations: 41.3 kB / 346.3 MB, free: 2.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.02803, allocations: 247.2 kB / 346.5 MB, free: 1.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.02853, allocations: 351.5 kB / 346.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02853, allocations: 0 / 346.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003024/0.02883, allocations: 329.5 kB / 347.2 MB, free: 1.105 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.02885, allocations: 11.03 kB / 347.2 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.02886, allocations: 11.98 kB / 347.2 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.02897, allocations: 36.83 kB / 347.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.02923, allocations: 146.7 kB / 347.4 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002256/0.02946, allocations: 0.5367 MB / 347.9 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.02956, allocations: 20 kB / 347.9 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.0296, allocations: 20 kB / 348 MB, free: 312 kB / 314.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.0001264/0.02972, allocations: 148.4 kB / 348.1 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.02977, allocations: 39.95 kB / 348.2 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.03003, allocations: 220.1 kB / 348.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.03003, allocations: 4 kB / 348.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.03003, allocations: 0 / 348.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.03004, allocations: 0 / 348.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.03067, allocations: 0.5945 MB / 349 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.03067, allocations: 0 / 349 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.0309, allocations: 93.91 kB / 349.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.506e-05/0.03097, allocations: 28.84 kB / 349.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.03099, allocations: 8 kB / 349.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002027/0.03119, allocations: 0.5288 MB / 349.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.03119, allocations: 4 kB / 349.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.03148, allocations: 374 kB / 350 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.03152, allocations: 43.66 kB / 350 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.03154, allocations: 11.98 kB / 350 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.03162, allocations: 16.03 kB / 350.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.03166, allocations: 19.95 kB / 350.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.03167, allocations: 12 kB / 350.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.03178, allocations: 152.7 kB / 350.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03178, allocations: 0 / 350.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.03208, allocations: 123.9 kB / 350.4 MB, free: 13.79 MB / 330.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.0001275/0.03221, allocations: 114.1 kB / 350.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.03247, allocations: 233.7 kB / 350.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.03248, allocations: 8 kB / 350.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.03258, allocations: 107.2 kB / 350.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.03288, allocations: 82.73 kB / 350.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.03439, allocations: 1.299 MB / 352.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.03449, allocations: 157.7 kB / 352.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.03462, allocations: 63.97 kB / 352.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.03477, allocations: 135.3 kB / 352.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03477, allocations: 0 / 352.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Templates: time 0.008274/0.04304, allocations: 4.475 MB / 357 MB, free: 7.152 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.002115711104125]