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/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.001291/0.001291, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001067/0.001067, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 0.9921/0.9921, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2594/0.2594, allocations: 32.81 MB / 294.6 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.939e-05, allocations: 7.188 kB / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004888/0.004907, allocations: 5.535 MB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.007973, allocations: 2.359 MB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.008353, allocations: 59.5 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.008702, allocations: 222 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.008984, allocations: 202 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.009723, allocations: 478.6 kB / 332.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.01046, allocations: 1.13 MB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005692/0.01102, allocations: 421.9 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.01151, allocations: 0.5691 MB / 334.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.01178, allocations: 291.1 kB / 334.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.01186, allocations: 96 kB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.01205, allocations: 159.8 kB / 334.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.01218, allocations: 223.2 kB / 334.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.01237, allocations: 307.2 kB / 335.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.01299, allocations: 0.7471 MB / 336 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01299, allocations: 0 / 336 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01299, allocations: 0 / 336 MB, free: 12.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.013, allocations: 0 / 336 MB, free: 12.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.0008582/0.01386, allocations: 1.065 MB / 337.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.01389, allocations: 12.03 kB / 337.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.01435, allocations: 148.8 kB / 337.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.01484, allocations: 474.9 kB / 337.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.01488, allocations: 74.12 kB / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.01495, allocations: 91.95 kB / 337.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.01555, allocations: 0.6835 MB / 338.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.01557, allocations: 7.953 kB / 338.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.01561, allocations: 36 kB / 338.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.01562, allocations: 24 kB / 338.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.01594, allocations: 252.4 kB / 338.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.01779, allocations: 2.844 MB / 341.7 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.01807, allocations: 147.1 kB / 341.8 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.01812, allocations: 44.84 kB / 341.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-05/0.01819, allocations: 27.97 kB / 341.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.01821, allocations: 30.56 kB / 341.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.01821, allocations: 0 / 341.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001104/0.01931, allocations: 0.8132 MB / 342.7 MB, free: 5.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.01934, allocations: 55.41 kB / 342.8 MB, free: 5.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.01955, allocations: 391 kB / 343.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.01957, allocations: 37.7 kB / 343.2 MB, free: 5.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.01973, allocations: 424.5 kB / 343.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.0198, allocations: 142.8 kB / 343.8 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.01988, allocations: 98.25 kB / 343.9 MB, free: 4.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003532/0.02024, allocations: 366.7 kB / 344.2 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.02029, allocations: 45.28 kB / 344.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.02042, allocations: 247.2 kB / 344.5 MB, free: 3.859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.02066, allocations: 352.5 kB / 344.8 MB, free: 3.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.02067, allocations: 4 kB / 344.8 MB, free: 3.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003144/0.02098, allocations: 334.1 kB / 345.2 MB, free: 3.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.021, allocations: 8 kB / 345.2 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.02101, allocations: 11.98 kB / 345.2 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.02112, allocations: 28.84 kB / 345.2 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.02138, allocations: 147.2 kB / 345.4 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002251/0.0216, allocations: 0.5327 MB / 345.9 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.02171, allocations: 27.98 kB / 345.9 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.02173, allocations: 23.94 kB / 345.9 MB, free: 2.289 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.0001264/0.02186, allocations: 156.5 kB / 346.1 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.0219, allocations: 43.95 kB / 346.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.02214, allocations: 200.2 kB / 346.3 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.02215, allocations: 7.984 kB / 346.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.02215, allocations: 0 / 346.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.02215, allocations: 0 / 346.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.02276, allocations: 0.5946 MB / 346.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.02277, allocations: 3.938 kB / 346.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.02299, allocations: 90.3 kB / 347 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.159e-05/0.02306, allocations: 24.78 kB / 347.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.02308, allocations: 11.98 kB / 347.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001969/0.02327, allocations: 0.5328 MB / 347.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02327, allocations: 0 / 347.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.02356, allocations: 382.1 kB / 348 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.0236, allocations: 43.67 kB / 348 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.02363, allocations: 8 kB / 348 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.0237, allocations: 4 kB / 348 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.02375, allocations: 31.89 kB / 348.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.02376, allocations: 7.984 kB / 348.1 MB, free: 48 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.02388, allocations: 156.7 kB / 348.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02388, allocations: 0 / 348.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000288/0.02416, allocations: 131.9 kB / 348.4 MB, free: 15.76 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.0001204/0.02428, allocations: 100.3 kB / 348.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.02455, allocations: 235.3 kB / 348.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/0.02456, allocations: 4 kB / 348.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.02466, allocations: 105.9 kB / 348.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.02494, allocations: 84.95 kB / 348.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.0264, allocations: 1.298 MB / 350.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.645e-05/0.02649, allocations: 157.7 kB / 350.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.02661, allocations: 67.64 kB / 350.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.02675, allocations: 131.3 kB / 350.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02675, allocations: 0 / 350.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Templates: time 0.008172/0.03493, allocations: 4.47 MB / 355 MB, free: 9.148 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0395226650871336]