Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001259/0.001259, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001204/0.001204, allocations: 162.6 kB / 24.99 MB, free: 9.273 MB / 18.57 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 1.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2968/0.2968, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.491e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005619/0.005643, allocations: 5.587 MB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.008644, allocations: 2.286 MB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.009171, allocations: 55.56 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.009546, allocations: 233.9 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.009826, allocations: 186.1 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.01057, allocations: 482.6 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008748/0.01145, allocations: 1.137 MB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.01193, allocations: 401.9 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.01245, allocations: 0.5652 MB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.01273, allocations: 291.1 kB / 387.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.01282, allocations: 96 kB / 387.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.01301, allocations: 159.8 kB / 387.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.01315, allocations: 219.2 kB / 387.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.01336, allocations: 315.2 kB / 387.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.01404, allocations: 0.7431 MB / 388.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01404, allocations: 0 / 388.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01405, allocations: 0 / 388.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.01406, allocations: 0 / 388.7 MB, free: 8.195 MB / 362.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.001085/0.01514, allocations: 1.181 MB / 389.9 MB, free: 6.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.01519, allocations: 8.031 kB / 389.9 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.01545, allocations: 188.3 kB / 390 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.01606, allocations: 0.5641 MB / 390.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.01611, allocations: 70.12 kB / 390.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.01619, allocations: 99.92 kB / 390.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/0.01708, allocations: 0.7483 MB / 391.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.0171, allocations: 15.88 kB / 391.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.01715, allocations: 40 kB / 391.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.01717, allocations: 23.94 kB / 391.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.01767, allocations: 323.5 kB / 391.9 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.02011, allocations: 4.047 MB / 396 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.02049, allocations: 167.7 kB / 396.1 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.02058, allocations: 68.09 kB / 396.2 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.02067, allocations: 23.98 kB / 396.2 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.02069, allocations: 37.83 kB / 396.3 MB, free: 272 kB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.02069, allocations: 4 kB / 396.3 MB, free: 268 kB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.00147/0.02216, allocations: 1.002 MB / 397.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.02219, allocations: 55.41 kB / 397.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.0225, allocations: 442.5 kB / 397.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.02251, allocations: 29.7 kB / 397.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.02273, allocations: 0.5217 MB / 398.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.02281, allocations: 142.8 kB / 398.4 MB, free: 13.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.0229, allocations: 104 kB / 398.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.02305, allocations: 0.5312 MB / 399.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.02315, allocations: 69.2 kB / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.02336, allocations: 338.4 kB / 399.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.0237, allocations: 447.7 kB / 399.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.0237, allocations: 4 kB / 399.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004588/0.02416, allocations: 448.8 kB / 400.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.02418, allocations: 12.16 kB / 400.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.02419, allocations: 11.94 kB / 400.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.02434, allocations: 31.67 kB / 400.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.02458, allocations: 127.8 kB / 400.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003365/0.02491, allocations: 0.8116 MB / 401.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.02503, allocations: 20 kB / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.02506, allocations: 28 kB / 401.4 MB, free: 10.72 MB / 378.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.0001539/0.02522, allocations: 188.4 kB / 401.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.02527, allocations: 63.7 kB / 401.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.02563, allocations: 269.9 kB / 401.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.02563, allocations: 4 kB / 401.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.02564, allocations: 0 / 401.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02564, allocations: 3.984 kB / 401.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008664/0.02651, allocations: 0.8754 MB / 402.8 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02651, allocations: 8.156 kB / 402.8 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.02673, allocations: 79.84 kB / 402.9 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.441e-05/0.02683, allocations: 39.69 kB / 402.9 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.02684, allocations: 8 kB / 402.9 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002728/0.02712, allocations: 0.8077 MB / 403.7 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02712, allocations: 4 kB / 403.7 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.02755, allocations: 0.5149 MB / 404.2 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.02759, allocations: 51.62 kB / 404.3 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.02762, allocations: 8 kB / 404.3 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.02769, allocations: 8 kB / 404.3 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.02774, allocations: 27.95 kB / 404.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.02776, allocations: 15.94 kB / 404.4 MB, free: 7.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.02794, allocations: 279 kB / 404.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02794, allocations: 0 / 404.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.02829, allocations: 124 kB / 404.7 MB, free: 7.195 MB / 378.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.0001524/0.02844, allocations: 119.1 kB / 404.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.02882, allocations: 260.9 kB / 405.1 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02882, allocations: 1.688 kB / 405.1 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.02895, allocations: 112.1 kB / 405.2 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.02931, allocations: 95.92 kB / 405.3 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.03115, allocations: 1.448 MB / 406.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03125, allocations: 157.7 kB / 406.9 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.03137, allocations: 56.55 kB / 407 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.03144, allocations: 52.44 kB / 407 MB, free: 4.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.03144, allocations: 0 / 407 MB, free: 4.82 MB / 378.7 MB Notification: Performance of Templates: time 0.007695/0.03914, allocations: 3.955 MB / 411 MB, free: 0.9375 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.2665661689825356]