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.001357/0.001357, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001437/0.001437, allocations: 165 kB / 23.8 MB, free: 0.7773 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 1.065/1.065, allocations: 158.6 MB / 185.7 MB, free: 2.938 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.1407/0.1407, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.615e-06/2.615e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.804e-05/5.066e-05, allocations: 12.22 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005182/0.005232, allocations: 5.584 MB / 353.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.008711, allocations: 2.283 MB / 355.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.009883, allocations: 51.56 kB / 355.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.0105, allocations: 237.9 kB / 355.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.01107, allocations: 194.1 kB / 356 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.01236, allocations: 474.7 kB / 356.5 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.01347, allocations: 1.129 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.01403, allocations: 402 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006954/0.01472, allocations: 0.5614 MB / 358.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.01511, allocations: 287.1 kB / 358.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.01521, allocations: 96 kB / 358.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.01546, allocations: 155.8 kB / 359.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.01563, allocations: 227.2 kB / 359.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.01585, allocations: 303.3 kB / 359.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008246/0.01668, allocations: 0.7471 MB / 360.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.01668, allocations: 3.938 kB / 360.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.01669, allocations: 4 kB / 360.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.0167, allocations: 0 / 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.001164/0.01786, allocations: 1.169 MB / 361.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.01791, allocations: 8.031 kB / 361.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.0181, allocations: 180.3 kB / 361.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.01872, allocations: 0.5564 MB / 362.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.01877, allocations: 74.06 kB / 362.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.01887, allocations: 95.95 kB / 362.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/0.01981, allocations: 0.7483 MB / 363.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.01985, allocations: 11.89 kB / 363.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.01989, allocations: 40 kB / 363.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.01991, allocations: 23.98 kB / 363.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.02039, allocations: 319.5 kB / 363.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.02303, allocations: 4.055 MB / 367.6 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.02346, allocations: 176.3 kB / 367.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.02355, allocations: 63.66 kB / 367.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.02366, allocations: 19.98 kB / 367.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.02369, allocations: 53.31 kB / 367.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.995e-06/0.0237, allocations: 0 / 367.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001493/0.02519, allocations: 0.9931 MB / 368.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.02522, allocations: 55.41 kB / 369 MB, free: 3.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.02553, allocations: 450.5 kB / 369.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.02555, allocations: 29.7 kB / 369.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.02578, allocations: 0.5139 MB / 369.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.02585, allocations: 134.9 kB / 370.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.02594, allocations: 111.9 kB / 370.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.02613, allocations: 0.5312 MB / 370.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.02622, allocations: 65.27 kB / 370.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.02644, allocations: 330.4 kB / 371.1 MB, free: 1.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.0268, allocations: 439.6 kB / 371.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.0268, allocations: 0 / 371.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005087/0.02731, allocations: 464.6 kB / 372 MB, free: 344 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.02734, allocations: 8 kB / 372 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.02735, allocations: 8 kB / 372 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.02754, allocations: 35.67 kB / 372 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.02779, allocations: 127.8 kB / 372.2 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004684/0.02826, allocations: 0.8155 MB / 373 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.02838, allocations: 20 kB / 373 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.02841, 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.0001543/0.02856, allocations: 192.4 kB / 373.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.02862, allocations: 59.67 kB / 373.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.02896, allocations: 273.7 kB / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.02896, allocations: 0 / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.02897, allocations: 4 kB / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.02898, allocations: 3.984 kB / 373.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.02994, allocations: 0.8862 MB / 374.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.02995, allocations: 0 / 374.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.03018, allocations: 80.06 kB / 374.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.03031, allocations: 35.66 kB / 374.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.03033, allocations: 12 kB / 374.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003479/0.03068, allocations: 0.8077 MB / 375.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03068, allocations: 0 / 375.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.03117, allocations: 0.5114 MB / 375.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.03122, allocations: 55.58 kB / 375.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.03126, allocations: 8 kB / 375.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.03135, allocations: 12.03 kB / 375.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.03142, allocations: 27.89 kB / 376 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.03145, allocations: 8 kB / 376 MB, free: 12.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000242/0.03169, allocations: 283 kB / 376.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03169, allocations: 0 / 376.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005135/0.0322, allocations: 131.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.0001925/0.03239, allocations: 111.2 kB / 376.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.03288, allocations: 260.5 kB / 376.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.03288, allocations: 0 / 376.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.03305, allocations: 116.9 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.0004898/0.03354, allocations: 92.36 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.002352/0.03589, allocations: 1.452 MB / 378.4 MB, free: 9.633 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.03604, allocations: 157.7 kB / 378.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.0362, allocations: 56.55 kB / 378.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.03627, allocations: 40.5 kB / 378.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.03627, allocations: 0 / 378.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of Templates: time 0.009841/0.04612, allocations: 4.176 MB / 382.8 MB, free: 5.234 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.2150777387432754]