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.001246/0.001246, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002719, allocations: 449.7 kB / 10.37 MB, free: 328 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.00102/0.00102, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002353, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9913/0.9913, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.093, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.2648/0.2648, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0225/0.2873, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.734e-06/1.734e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.442e-05, allocations: 4.562 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006933/0.006948, allocations: 5.575 MB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.01166, allocations: 2.383 MB / 300.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.0124, allocations: 55.56 kB / 300.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.01288, allocations: 237.8 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006329/0.01352, allocations: 194 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.01476, allocations: 486.6 kB / 301.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.0162, allocations: 1.122 MB / 302.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006777/0.01688, allocations: 413.9 kB / 303 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009144/0.01779, allocations: 0.5887 MB / 303.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.01822, allocations: 287.1 kB / 303.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.01837, allocations: 96 kB / 304 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.01868, allocations: 159.8 kB / 304.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.01884, allocations: 175.4 kB / 304.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.01914, allocations: 259.4 kB / 304.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008577/0.02, allocations: 0.7082 MB / 305.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.797e-05/0.02002, allocations: 0 / 305.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.02002, allocations: 0 / 305.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.02005, allocations: 7.922 kB / 305.3 MB, free: 9.547 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.001525/0.02158, allocations: 1.249 MB / 306.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.02161, allocations: 12.03 kB / 306.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.02193, allocations: 225.9 kB / 306.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/0.02269, allocations: 475 kB / 307.2 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.02275, allocations: 70.12 kB / 307.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.02286, allocations: 91.95 kB / 307.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.02378, allocations: 0.6797 MB / 308.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.02382, allocations: 11.94 kB / 308.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.02387, allocations: 36 kB / 308.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.02389, allocations: 24 kB / 308.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.02439, allocations: 244.4 kB / 308.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.02712, allocations: 2.86 MB / 311.3 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.02749, allocations: 147.6 kB / 311.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.02757, allocations: 52.84 kB / 311.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.02764, allocations: 15.98 kB / 311.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.02767, allocations: 42.56 kB / 311.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.02768, allocations: 0 / 311.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001528/0.0292, allocations: 0.8253 MB / 312.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.02924, allocations: 55.41 kB / 312.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.02954, allocations: 383 kB / 312.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.02956, allocations: 29.7 kB / 312.8 MB, free: 1.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.0298, allocations: 444.4 kB / 313.2 MB, free: 1.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/0.02989, allocations: 138.7 kB / 313.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.03, allocations: 98.25 kB / 313.5 MB, free: 1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.03013, allocations: 370.7 kB / 313.8 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.0302, allocations: 41.3 kB / 313.9 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.03039, allocations: 243.2 kB / 314.1 MB, free: 272 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.03073, allocations: 351.5 kB / 314.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.03073, allocations: 0 / 314.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000446/0.03118, allocations: 329.8 kB / 314.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.0312, allocations: 8 kB / 314.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.03121, allocations: 8 kB / 314.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.03134, allocations: 32.84 kB / 314.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.03175, allocations: 150.1 kB / 315 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003006/0.03205, allocations: 0.5444 MB / 315.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.03223, allocations: 27.88 kB / 315.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.03226, allocations: 20 kB / 315.5 MB, free: 14.69 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.0001814/0.03244, allocations: 152.5 kB / 315.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.03251, allocations: 39.95 kB / 315.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.03283, allocations: 208 kB / 315.9 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.03283, allocations: 4 kB / 315.9 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.03283, allocations: 4.031 kB / 315.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.03284, allocations: 3.984 kB / 315.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.03372, allocations: 0.5829 MB / 316.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03373, allocations: 0 / 316.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.03408, allocations: 99.88 kB / 316.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.03412, allocations: 43.66 kB / 316.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.03421, allocations: 24.84 kB / 316.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.03423, allocations: 16.14 kB / 316.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002385/0.03447, allocations: 0.525 MB / 317.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.03447, allocations: 3.938 kB / 317.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.03487, allocations: 384 kB / 317.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.03491, allocations: 12 kB / 317.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.03504, allocations: 4 kB / 317.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.03509, allocations: 27.95 kB / 317.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.03511, allocations: 4 kB / 317.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.03526, allocations: 164.7 kB / 317.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03526, allocations: 0 / 317.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004694/0.03573, allocations: 131.9 kB / 317.9 MB, free: 12.16 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.0001624/0.03589, allocations: 106.6 kB / 318.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.03642, allocations: 238.9 kB / 318.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/0.03643, allocations: 4 kB / 318.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.03658, allocations: 108.8 kB / 318.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.03701, allocations: 110.9 kB / 318.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/0.04598, allocations: 1.501 MB / 320 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.04614, allocations: 181.7 kB / 320.2 MB, free: 9.852 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.04632, allocations: 56.58 kB / 320.2 MB, free: 9.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.04652, allocations: 135.3 kB / 320.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04652, allocations: 0 / 320.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of Templates: time 0.0119/0.05842, allocations: 4.636 MB / 325 MB, free: 5.133 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8843385335057974]