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.001331/0.001331, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00212/0.003451, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001299/0.001299, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001804/0.003103, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.158/1.158, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1209/1.279, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.3931/0.3931, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03677/0.4299, allocations: 13.11 MB / 291.5 MB, free: 7.34 MB / 282.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 1.744e-06/1.744e-06, allocations: 0 / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.876e-05, allocations: 8.312 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006959/0.006988, allocations: 5.58 MB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.01161, allocations: 2.383 MB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.01298, allocations: 55.56 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.01355, allocations: 233.9 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.01418, allocations: 198 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.01538, allocations: 474.7 kB / 301.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01678, allocations: 1.126 MB / 302.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.01747, allocations: 421.9 kB / 303.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009293/0.0184, allocations: 0.5925 MB / 303.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.01887, allocations: 283.1 kB / 304.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.01901, allocations: 96 kB / 304.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.01933, allocations: 159.9 kB / 304.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.01949, allocations: 171.4 kB / 304.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.01973, allocations: 267.4 kB / 304.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009362/0.02067, allocations: 0.7042 MB / 305.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.273e-05/0.02069, allocations: 4 kB / 305.5 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.02069, allocations: 0 / 305.5 MB, free: 9.449 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.532e-05/0.02073, allocations: 4 kB / 305.5 MB, free: 9.445 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.001605/0.02233, allocations: 1.249 MB / 306.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.02238, allocations: 8.031 kB / 306.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.02271, allocations: 229.9 kB / 307 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.02341, allocations: 471 kB / 307.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.02345, allocations: 78.12 kB / 307.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/0.02355, allocations: 95.94 kB / 307.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/0.02442, allocations: 0.6758 MB / 308.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.02445, allocations: 7.953 kB / 308.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.02449, allocations: 36 kB / 308.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.02451, allocations: 24 kB / 308.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.02487, allocations: 248.4 kB / 308.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.0272, allocations: 2.86 MB / 311.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.02755, allocations: 143.2 kB / 311.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.0276, allocations: 48.83 kB / 311.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.305e-05/0.02769, allocations: 19.98 kB / 311.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.02772, allocations: 34.56 kB / 311.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.326e-06/0.02772, allocations: 4 kB / 311.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001437/0.02916, allocations: 0.8418 MB / 312.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.02919, allocations: 59.41 kB / 312.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.02944, allocations: 391 kB / 313 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.02946, allocations: 33.7 kB / 313 MB, free: 1.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.02988, allocations: 432.4 kB / 313.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/0.02996, allocations: 150.7 kB / 313.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.03005, allocations: 98.25 kB / 313.7 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.03016, allocations: 362.7 kB / 314 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.03021, allocations: 45.28 kB / 314.1 MB, free: 476 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.03036, allocations: 247.2 kB / 314.3 MB, free: 140 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.03065, allocations: 367.4 kB / 314.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.03065, allocations: 0 / 314.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003346/0.03098, allocations: 334.2 kB / 315 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.03101, allocations: 11.98 kB / 315 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.03102, allocations: 4 kB / 315 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.03118, allocations: 32.84 kB / 315.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.03148, allocations: 148.5 kB / 315.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002906/0.03178, allocations: 0.5444 MB / 315.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.03192, allocations: 16 kB / 315.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.03195, allocations: 28.2 kB / 315.8 MB, free: 14.55 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.0001569/0.0321, allocations: 144.5 kB / 315.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.03215, allocations: 39.95 kB / 316 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.03244, allocations: 211.9 kB / 316.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.03244, allocations: 4.047 kB / 316.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.03244, allocations: 3.984 kB / 316.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.03245, allocations: 0 / 316.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.03318, allocations: 0.5907 MB / 316.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03319, allocations: 0 / 316.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.03345, allocations: 102.9 kB / 316.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.03349, allocations: 43.67 kB / 316.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.0336, allocations: 24.84 kB / 317 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.03361, allocations: 8 kB / 317 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002336/0.03385, allocations: 0.5289 MB / 317.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.03385, allocations: 8.125 kB / 317.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.03419, allocations: 384 kB / 317.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.03422, allocations: 12 kB / 317.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.0343, allocations: 4 kB / 317.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.03435, allocations: 31.89 kB / 317.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.03437, allocations: 4 kB / 317.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.03448, allocations: 156.7 kB / 318.1 MB, free: 12.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03448, allocations: 0 / 318.1 MB, free: 12.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.03486, allocations: 131.9 kB / 318.2 MB, free: 12.02 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.0001846/0.03504, allocations: 104.2 kB / 318.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.03537, allocations: 244.1 kB / 318.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/0.03539, allocations: 8.281 kB / 318.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.03554, allocations: 128.7 kB / 318.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.03616, allocations: 0.6863 MB / 319.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.04232, allocations: 1.499 MB / 320.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.04246, allocations: 181.7 kB / 321 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.04266, allocations: 66.77 kB / 321.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.04284, allocations: 135.3 kB / 321.2 MB, free: 8.785 MB / 314.7 MB Notification: Performance of SimCode: time 2.555e-06/0.04284, allocations: 0 / 321.2 MB, free: 8.785 MB / 314.7 MB Notification: Performance of Templates: time 0.01032/0.05316, allocations: 4.316 MB / 325.6 MB, free: 4.578 MB / 314.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.286476770415902]