Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008426/0.0008426, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001858, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007064/0.0007064, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009463/0.001653, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.034/1.034, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.138, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 34.87 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02096/0.2725, allocations: 13.24 MB / 292.8 MB, free: 6.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.467e-05, allocations: 6.188 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004211/0.004225, allocations: 5.598 MB / 299.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.00647, allocations: 2.372 MB / 302 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.00675, allocations: 55.5 kB / 302.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.007035, allocations: 237.9 kB / 302.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.007263, allocations: 194.1 kB / 302.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.007796, allocations: 482.6 kB / 303 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006595/0.008456, allocations: 1.119 MB / 304.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.008856, allocations: 413.9 kB / 304.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.009322, allocations: 0.5925 MB / 305.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.009575, allocations: 295.1 kB / 305.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.009668, allocations: 96 kB / 305.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.009853, allocations: 159.8 kB / 305.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.009964, allocations: 179.4 kB / 305.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.01016, allocations: 259.4 kB / 306.1 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.01068, allocations: 0.7043 MB / 306.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.01069, allocations: 0 / 306.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01069, allocations: 0 / 306.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.0107, allocations: 0 / 306.8 MB, free: 8.309 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.001041/0.01174, allocations: 1.256 MB / 308 MB, free: 7.023 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01178, allocations: 8.922 kB / 308 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.01204, allocations: 229.9 kB / 308.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.0127, allocations: 463.1 kB / 308.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.01273, allocations: 74.06 kB / 308.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.01281, allocations: 91.95 kB / 308.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.01339, allocations: 0.686 MB / 309.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.01342, allocations: 11.89 kB / 309.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.01345, allocations: 40 kB / 309.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.01347, allocations: 23.98 kB / 309.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.01375, allocations: 248.4 kB / 309.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.01598, allocations: 2.864 MB / 312.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.01626, allocations: 139.2 kB / 312.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.01631, allocations: 48.83 kB / 312.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.01637, allocations: 23.97 kB / 312.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.01639, allocations: 38.5 kB / 313 MB, free: 1.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.01639, allocations: 0 / 313 MB, free: 1.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.00107/0.01747, allocations: 0.8388 MB / 313.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.01749, allocations: 55.41 kB / 313.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.01769, allocations: 391 kB / 314.3 MB, free: 452 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.0177, allocations: 33.7 kB / 314.3 MB, free: 412 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.01786, allocations: 428.7 kB / 314.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.01793, allocations: 146.7 kB / 314.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.018, allocations: 98.25 kB / 315 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.01809, allocations: 370.7 kB / 315.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.01813, allocations: 45.23 kB / 315.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.01826, allocations: 239.2 kB / 315.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.01848, allocations: 371.2 kB / 316 MB, free: 14.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01849, allocations: 0 / 316 MB, free: 14.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002774/0.01876, allocations: 330.3 kB / 316.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01878, allocations: 8 kB / 316.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.01878, allocations: 16.03 kB / 316.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.965e-05/0.01888, allocations: 28.84 kB / 316.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.01913, allocations: 153.3 kB / 316.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002012/0.01933, allocations: 0.5366 MB / 317 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.505e-05/0.01943, allocations: 20 kB / 317 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.01945, allocations: 23.98 kB / 317.1 MB, free: 13.41 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.0001088/0.01956, allocations: 148.5 kB / 317.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.0196, allocations: 44 kB / 317.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.01982, allocations: 204.4 kB / 317.4 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01982, allocations: 7.938 kB / 317.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01982, allocations: 0 / 317.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01983, allocations: 7.984 kB / 317.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.02038, allocations: 0.5882 MB / 318 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02038, allocations: 4.156 kB / 318.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.0206, allocations: 95.89 kB / 318.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.02063, allocations: 43.66 kB / 318.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8e-05/0.02071, allocations: 24.84 kB / 318.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.02074, allocations: 11.94 kB / 318.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002094/0.02095, allocations: 0.5328 MB / 318.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02095, allocations: 0 / 318.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.02156, allocations: 390.4 kB / 319.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.02158, allocations: 8 kB / 319.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.02165, allocations: 11.98 kB / 319.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.02169, allocations: 19.97 kB / 319.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02171, allocations: 15.92 kB / 319.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.269e-05/0.0218, allocations: 152.7 kB / 319.3 MB, free: 11 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0218, allocations: 0 / 319.3 MB, free: 11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.02206, allocations: 135.9 kB / 319.5 MB, free: 10.86 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.0001196/0.02218, allocations: 104.2 kB / 319.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.02243, allocations: 243.9 kB / 319.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.02244, allocations: 8 kB / 319.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.02256, allocations: 117.9 kB / 319.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.02302, allocations: 0.6947 MB / 320.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.02815, allocations: 1.493 MB / 322.1 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.02825, allocations: 181.7 kB / 322.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.02836, allocations: 71.84 kB / 322.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.0285, allocations: 135.3 kB / 322.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0285, allocations: 0 / 322.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of Templates: time 0.008291/0.03679, allocations: 4.305 MB / 326.8 MB, free: 3.445 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.8080483255907893]