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.0008609/0.0008609, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0009865/0.0009865, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 0.9978/0.9978, allocations: 158.6 MB / 185.9 MB, free: 2.812 MB / 170.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.1798/0.1798, allocations: 32.37 MB / 270.7 MB, free: 14.54 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 2.104e-06/2.104e-06, allocations: 0 / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.82e-05, allocations: 2.312 kB / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006939/0.006967, allocations: 5.478 MB / 353.6 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.01214, allocations: 2.256 MB / 355.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.01406, allocations: 51.56 kB / 355.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.01479, allocations: 234 kB / 356.1 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00093/0.01572, allocations: 202 kB / 356.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.01737, allocations: 466.7 kB / 356.8 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.01913, allocations: 1.141 MB / 357.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008937/0.02002, allocations: 394 kB / 358.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.0211, allocations: 0.5614 MB / 358.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.02171, allocations: 283.1 kB / 359.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.02194, allocations: 100 kB / 359.2 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.0223, allocations: 163.8 kB / 359.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.02251, allocations: 219.2 kB / 359.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.02297, allocations: 311.2 kB / 359.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.02421, allocations: 0.7431 MB / 360.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.02421, allocations: 0 / 360.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.02422, allocations: 0 / 360.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.02425, allocations: 0 / 360.6 MB, free: 12.58 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.001682/0.02593, allocations: 1.189 MB / 361.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.02597, allocations: 8.031 kB / 361.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.02623, allocations: 184.3 kB / 362 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008962/0.02713, allocations: 0.5447 MB / 362.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.0272, allocations: 70.12 kB / 362.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.02735, allocations: 99.88 kB / 362.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.02842, allocations: 0.6974 MB / 363.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.02845, allocations: 15.88 kB / 363.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.0285, allocations: 44 kB / 363.5 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.02852, allocations: 24 kB / 363.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.02882, allocations: 257.5 kB / 363.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.03125, allocations: 3.962 MB / 367.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.03151, allocations: 160.4 kB / 367.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.03157, allocations: 63.56 kB / 367.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.03164, allocations: 20 kB / 368 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.03166, allocations: 37.39 kB / 368 MB, free: 4.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.03166, allocations: 0 / 368 MB, free: 4.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001092/0.03275, allocations: 0.8494 MB / 368.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.03278, allocations: 59.41 kB / 368.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.03303, allocations: 438.2 kB / 369.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.03305, allocations: 33.7 kB / 369.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.0334, allocations: 0.5216 MB / 369.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.03347, allocations: 146.8 kB / 370 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.03356, allocations: 103.9 kB / 370.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.03382, allocations: 0.539 MB / 370.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.03388, allocations: 57.19 kB / 370.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.03409, allocations: 318.4 kB / 371 MB, free: 1.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.03438, allocations: 415.6 kB / 371.5 MB, free: 1.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.03438, allocations: 0 / 371.5 MB, free: 1.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003781/0.03476, allocations: 420.3 kB / 371.9 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.03478, allocations: 8 kB / 371.9 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.03479, allocations: 8 kB / 371.9 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.03492, allocations: 39.59 kB / 371.9 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.03528, allocations: 119.8 kB / 372 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003712/0.03565, allocations: 0.8194 MB / 372.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.03574, allocations: 16.41 kB / 372.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.03577, allocations: 31.98 kB / 372.9 MB, free: 15.58 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.0001406/0.03592, allocations: 184.4 kB / 373.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.03597, allocations: 63.67 kB / 373.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.03626, allocations: 249.7 kB / 373.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.03626, allocations: 7.938 kB / 373.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.03626, allocations: 0 / 373.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.03627, allocations: 0 / 373.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/0.03709, allocations: 0.7695 MB / 374.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.0371, allocations: 0 / 374.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.03729, allocations: 83.89 kB / 374.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.341e-05/0.03737, allocations: 23.67 kB / 374.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.03739, allocations: 16 kB / 374.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002645/0.03765, allocations: 0.8039 MB / 375.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.03765, allocations: 15.92 kB / 375.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.0384, allocations: 0.4958 MB / 375.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.03844, allocations: 39.67 kB / 375.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.03846, allocations: 11.94 kB / 375.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.03854, allocations: 8 kB / 375.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.03858, allocations: 23.95 kB / 375.7 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.0386, allocations: 12 kB / 375.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.03874, allocations: 278.8 kB / 376 MB, free: 12.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03874, allocations: 0 / 376 MB, free: 12.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.03914, allocations: 127.9 kB / 376.1 MB, free: 12.22 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.0001907/0.03933, allocations: 115.2 kB / 376.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.03964, allocations: 238 kB / 376.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.03964, allocations: 0 / 376.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.03975, allocations: 111.5 kB / 376.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.04008, allocations: 77.81 kB / 376.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.04192, allocations: 1.445 MB / 378.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.04204, allocations: 161.7 kB / 378.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.04215, allocations: 56.55 kB / 378.3 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.04229, allocations: 158.2 kB / 378.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0423, allocations: 0 / 378.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of Templates: time 0.007886/0.05018, allocations: 4.324 MB / 382.8 MB, free: 5.52 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1602145908400416]