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.001874/0.001874, allocations: 91.55 kB / 20.21 MB, free: 4.191 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.002158/0.002158, allocations: 157.3 kB / 23.52 MB, free: 0.8867 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.573/1.573, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2546/0.2546, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.034e-06/2.034e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.106e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005569/0.0056, allocations: 5.527 MB / 352.4 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.009648, allocations: 2.271 MB / 354.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.01066, allocations: 51.56 kB / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.01118, allocations: 229.9 kB / 355 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.01169, allocations: 186.1 kB / 355.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.01268, allocations: 474.7 kB / 355.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.01371, allocations: 1.137 MB / 356.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007905/0.0145, allocations: 398 kB / 357.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009887/0.01548, allocations: 0.5575 MB / 357.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.01601, allocations: 287.1 kB / 358 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.01616, allocations: 96 kB / 358.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.0165, allocations: 155.8 kB / 358.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.01675, allocations: 223.2 kB / 358.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.01716, allocations: 307.3 kB / 358.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.01889, allocations: 1.285 MB / 360.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01889, allocations: 4 kB / 360.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.0189, allocations: 0 / 360.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.01891, allocations: 0 / 360.1 MB, free: 12.61 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.002279/0.02119, allocations: 1.259 MB / 361.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.02123, allocations: 8.031 kB / 361.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.02153, allocations: 176.3 kB / 361.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.02257, allocations: 0.5564 MB / 362.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.02265, allocations: 78.06 kB / 362.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.02281, allocations: 103.9 kB / 362.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.0245, allocations: 0.9429 MB / 363.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.02455, allocations: 11.89 kB / 363.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.02463, allocations: 36 kB / 363.2 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.02466, allocations: 28 kB / 363.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.02572, allocations: 463.5 kB / 363.7 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.03123, allocations: 4.43 MB / 368.1 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.03194, allocations: 223.6 kB / 368.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.03213, allocations: 91.66 kB / 368.4 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.03226, allocations: 19.98 kB / 368.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.0323, allocations: 41.33 kB / 368.5 MB, free: 3.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.0323, allocations: 4 kB / 368.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002731/0.03503, allocations: 1.18 MB / 369.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.03509, allocations: 55.41 kB / 369.7 MB, free: 2.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.03577, allocations: 0.5453 MB / 370.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.0358, allocations: 29.7 kB / 370.3 MB, free: 1.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.03627, allocations: 0.5374 MB / 370.8 MB, free: 1.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.03642, allocations: 150.8 kB / 371 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.03662, allocations: 123.9 kB / 371.1 MB, free: 1.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003936/0.03701, allocations: 0.5664 MB / 371.7 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.03725, allocations: 113.2 kB / 371.8 MB, free: 400 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.03778, allocations: 394.4 kB / 372.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/0.03855, allocations: 0.5348 MB / 372.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.03855, allocations: 7.938 kB / 372.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009665/0.03952, allocations: 0.5387 MB / 373.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.03954, allocations: 8.844 kB / 373.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.03955, allocations: 4 kB / 373.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.0398, allocations: 43.67 kB / 373.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.04021, allocations: 127.8 kB / 373.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000738/0.04095, allocations: 0.8312 MB / 374.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.04118, allocations: 16 kB / 374.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.04124, allocations: 31.98 kB / 374.3 MB, free: 13.59 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.0004457/0.04168, allocations: 252.4 kB / 374.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.04179, allocations: 63.67 kB / 374.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009334/0.04273, allocations: 329.8 kB / 374.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.04273, allocations: 4 kB / 375 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.04274, allocations: 0 / 375 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.04274, allocations: 0 / 375 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.04464, allocations: 1.128 MB / 376.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.04464, allocations: 0 / 376.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.04501, allocations: 83.89 kB / 376.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/0.04517, allocations: 39.86 kB / 376.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.0452, allocations: 8 kB / 376.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006096/0.04581, allocations: 0.8273 MB / 377 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.04581, allocations: 4 kB / 377 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/0.04681, allocations: 0.6322 MB / 377.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.04691, allocations: 47.61 kB / 377.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.04697, allocations: 11.98 kB / 377.7 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.04712, allocations: 12.03 kB / 377.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.04719, allocations: 27.89 kB / 377.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.04722, allocations: 12 kB / 377.8 MB, free: 9.953 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004269/0.04765, allocations: 339 kB / 378.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04765, allocations: 0 / 378.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.04826, allocations: 120 kB / 378.2 MB, free: 9.504 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.0001942/0.04846, allocations: 119.1 kB / 378.3 MB, free: 9.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007391/0.0492, allocations: 348.7 kB / 378.7 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0492, allocations: 0 / 378.7 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.04951, allocations: 161.1 kB / 378.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.05009, allocations: 90.56 kB / 378.9 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.05283, allocations: 1.485 MB / 380.4 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.05328, allocations: 363.8 kB / 380.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.05348, allocations: 56.55 kB / 380.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.05357, allocations: 44.48 kB / 380.9 MB, free: 6.758 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.05358, allocations: 8 kB / 380.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of Templates: time 0.01154/0.06512, allocations: 3.944 MB / 384.8 MB, free: 2.867 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.226952165947296]