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.001119/0.001119, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002579, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006992/0.0006992, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008682/0.001567, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.007/1.007, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1832/1.19, allocations: 49.49 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] 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.1291/0.1291, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02658/0.1557, allocations: 12.3 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] 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 1.934e-06/1.934e-06, allocations: 0 / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.231e-05, allocations: 6.25 kB / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007128/0.007161, allocations: 5.561 MB / 272.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004181/0.01134, allocations: 2.364 MB / 275.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000856/0.0122, allocations: 51.56 kB / 275.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.01263, allocations: 233.9 kB / 275.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.01318, allocations: 198 kB / 275.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.0143, allocations: 462.8 kB / 276 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.01534, allocations: 1.114 MB / 277.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005347/0.01587, allocations: 421.8 kB / 277.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.01646, allocations: 0.5809 MB / 278.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.01676, allocations: 291 kB / 278.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.01685, allocations: 96 kB / 278.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.01707, allocations: 155.8 kB / 278.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.01719, allocations: 175.4 kB / 278.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.01738, allocations: 263.4 kB / 279.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.01812, allocations: 0.6925 MB / 279.8 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.935e-05/0.01814, allocations: 7.938 kB / 279.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.01814, allocations: 0 / 279.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.01816, allocations: 4 kB / 279.8 MB, free: 9.84 MB / 282.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.001146/0.0193, allocations: 1.24 MB / 281.1 MB, free: 8.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.01935, allocations: 8.031 kB / 281.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.0195, allocations: 140.8 kB / 281.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.02009, allocations: 475 kB / 281.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.02013, allocations: 70.12 kB / 281.7 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.02023, allocations: 99.94 kB / 281.8 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.02093, allocations: 0.7501 MB / 282.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.02096, allocations: 15.88 kB / 282.6 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.02099, allocations: 36 kB / 282.6 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.02101, allocations: 24 kB / 282.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.02133, allocations: 248.4 kB / 282.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.02348, allocations: 2.86 MB / 285.8 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.02379, allocations: 151.2 kB / 285.9 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.02384, allocations: 48.84 kB / 285.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.02391, allocations: 19.98 kB / 286 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.02394, allocations: 42.5 kB / 286 MB, free: 3.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.464e-06/0.02394, allocations: 0 / 286 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001217/0.02516, allocations: 0.8177 MB / 286.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.02519, allocations: 59.41 kB / 286.9 MB, free: 2.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.02541, allocations: 391 kB / 287.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.02543, allocations: 29.7 kB / 287.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.02558, allocations: 428.5 kB / 287.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.02565, allocations: 142.8 kB / 287.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.02573, allocations: 102.2 kB / 288 MB, free: 1.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.02582, allocations: 362.7 kB / 288.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.02587, allocations: 49.22 kB / 288.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.026, allocations: 239.2 kB / 288.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.02623, allocations: 351 kB / 288.9 MB, free: 152 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02623, allocations: 0 / 288.9 MB, free: 152 kB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003091/0.02654, allocations: 333.8 kB / 289.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.02656, allocations: 8 kB / 289.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.02657, allocations: 4 kB / 289.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.02668, allocations: 40.78 kB / 289.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.02696, allocations: 147.8 kB / 289.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002539/0.02721, allocations: 0.5408 MB / 290 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.02732, allocations: 24.03 kB / 290 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.02735, allocations: 23.98 kB / 290 MB, free: 15 MB / 298.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.0001326/0.02748, allocations: 144.5 kB / 290.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.02752, allocations: 35.97 kB / 290.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.02778, allocations: 206.9 kB / 290.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02779, allocations: 4 kB / 290.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.02779, allocations: 0 / 290.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.0278, allocations: 3.984 kB / 290.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.02846, allocations: 0.5975 MB / 291 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.02846, allocations: 0 / 291 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.02869, allocations: 95.83 kB / 291.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.02872, allocations: 47.66 kB / 291.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.791e-05/0.0288, allocations: 20.89 kB / 291.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.02882, allocations: 11.98 kB / 291.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002296/0.02905, allocations: 0.5368 MB / 291.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.02905, allocations: 4 kB / 291.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.02937, allocations: 390.3 kB / 292.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.0294, allocations: 8 kB / 292.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.02947, allocations: 8 kB / 292.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.02952, allocations: 27.95 kB / 292.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.02953, allocations: 11.98 kB / 292.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.58e-05/0.02963, allocations: 156.6 kB / 292.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02963, allocations: 8.031 kB / 292.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.02993, allocations: 124 kB / 292.5 MB, free: 12.46 MB / 298.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.0001387/0.03007, allocations: 104.2 kB / 292.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.03033, allocations: 219.5 kB / 292.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/0.03035, allocations: 8 kB / 292.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.03045, allocations: 105.9 kB / 292.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.03075, allocations: 113.9 kB / 293 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.03649, allocations: 1.494 MB / 294.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.03663, allocations: 181.7 kB / 294.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00016/0.03679, allocations: 64.56 kB / 294.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.03694, allocations: 131.3 kB / 294.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.03694, allocations: 0 / 294.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of Templates: time 0.008948/0.04589, allocations: 4.618 MB / 299.5 MB, free: 5.34 MB / 298.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 -ignoreHideResult -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","",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.820108869113028]