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.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.001442/0.001442, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001687/0.001687, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 18.57 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 0.998/0.998, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1463/0.1463, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.422e-05, allocations: 9.344 kB / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004266/0.00429, allocations: 5.588 MB / 353.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.007103, allocations: 2.283 MB / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/0.007666, allocations: 51.56 kB / 355.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.008036, allocations: 233.9 kB / 355.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.008315, allocations: 194.1 kB / 356 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.009039, allocations: 474.7 kB / 356.5 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006646/0.009704, allocations: 1.129 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.01016, allocations: 402 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.01062, allocations: 0.5536 MB / 358.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.01089, allocations: 291.1 kB / 358.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/0.01097, allocations: 96 kB / 358.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.01116, allocations: 155.8 kB / 359.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.0113, allocations: 223.2 kB / 359.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.0115, allocations: 311.3 kB / 359.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.01213, allocations: 0.747 MB / 360.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01214, allocations: 0 / 360.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01214, allocations: 0 / 360.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01215, allocations: 3.938 kB / 360.3 MB, free: 12.7 MB / 298.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.000992/0.01314, allocations: 1.17 MB / 361.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.01318, allocations: 12.03 kB / 361.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.01334, allocations: 180.3 kB / 361.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.0139, allocations: 0.5563 MB / 362.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.01394, allocations: 74.12 kB / 362.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.01402, allocations: 91.95 kB / 362.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008316/0.01486, allocations: 0.7521 MB / 363.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.01488, allocations: 7.953 kB / 363.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.01492, allocations: 39.98 kB / 363.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.01494, allocations: 24 kB / 363.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.01542, allocations: 323.5 kB / 363.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.01782, allocations: 4.047 MB / 367.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.01819, allocations: 180.3 kB / 367.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.01827, allocations: 63.66 kB / 367.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/0.01837, allocations: 23.98 kB / 367.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.01839, allocations: 45.31 kB / 367.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.01839, allocations: 0 / 367.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001385/0.01978, allocations: 1.001 MB / 368.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.01981, allocations: 55.41 kB / 369 MB, free: 3.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.02009, allocations: 446.5 kB / 369.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.02011, allocations: 33.7 kB / 369.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.02033, allocations: 0.5139 MB / 369.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.0204, allocations: 138.9 kB / 370.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.02048, allocations: 104 kB / 370.2 MB, free: 2.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.02062, allocations: 0.5352 MB / 370.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.02071, allocations: 57.27 kB / 370.8 MB, free: 1.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.02093, allocations: 338.4 kB / 371.1 MB, free: 1.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.02126, allocations: 439.6 kB / 371.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.02126, allocations: 4 kB / 371.5 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004524/0.02171, allocations: 452.6 kB / 372 MB, free: 352 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02173, allocations: 8.094 kB / 372 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.02174, allocations: 8 kB / 372 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.02189, allocations: 43.67 kB / 372 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.02213, allocations: 131.8 kB / 372.2 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003347/0.02246, allocations: 0.8116 MB / 373 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.02257, allocations: 20 kB / 373 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.0226, allocations: 24 kB / 373 MB, free: 15.27 MB / 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.0001435/0.02275, allocations: 192.3 kB / 373.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.0228, allocations: 63.7 kB / 373.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.02315, allocations: 269.7 kB / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02315, allocations: 4 kB / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.02315, allocations: 0 / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02316, allocations: 3.984 kB / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.024, allocations: 0.89 MB / 374.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.024, allocations: 160 / 374.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.02421, allocations: 75.95 kB / 374.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.076e-05/0.0243, allocations: 35.61 kB / 374.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.02432, allocations: 8 kB / 374.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002643/0.02458, allocations: 0.8039 MB / 375.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.02459, allocations: 4 kB / 375.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.02501, allocations: 0.5113 MB / 375.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.02505, allocations: 47.69 kB / 375.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.02508, allocations: 15.97 kB / 375.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.02516, allocations: 15.98 kB / 375.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.02521, allocations: 23.95 kB / 376 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.02522, allocations: 12 kB / 376 MB, free: 12.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.02539, allocations: 283 kB / 376.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02539, allocations: 0 / 376.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.02573, allocations: 123.9 kB / 376.4 MB, free: 11.73 MB / 314.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.00015/0.02588, allocations: 115.2 kB / 376.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.02626, allocations: 264.4 kB / 376.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02626, allocations: 1.688 kB / 376.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.02639, allocations: 115.4 kB / 376.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.02675, allocations: 96.7 kB / 376.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.02854, allocations: 1.438 MB / 378.4 MB, free: 9.641 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.02864, allocations: 161.7 kB / 378.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.02876, allocations: 60.53 kB / 378.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.02882, allocations: 36.5 kB / 378.6 MB, free: 9.363 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.02882, allocations: 4 kB / 378.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of Templates: time 0.007583/0.03641, allocations: 3.964 MB / 382.6 MB, free: 5.457 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",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.27055338723585]