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.001857/0.001857, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002257/0.002257, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2273/0.2273, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 71.89 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3307, allocations: 65.48 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007774/0.3384, allocations: 5.123 MB / 0.5632 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.3434, allocations: 2.255 MB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.3444, allocations: 55.5 kB / 0.5654 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.345, allocations: 234.1 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005272/0.3455, allocations: 182.3 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3468, allocations: 474.9 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.3483, allocations: 1.114 MB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.349, allocations: 401.8 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006083/0.3496, allocations: 386.6 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.3501, allocations: 346 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.3502, allocations: 92 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.3505, allocations: 155.9 kB / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.3507, allocations: 215.3 kB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.3511, allocations: 378.1 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.3527, allocations: 1.294 MB / 0.5705 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3527, allocations: 3.938 kB / 0.5705 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3527, allocations: 0 / 0.5705 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.3527, allocations: 0 / 0.5705 GB, free: 10.76 MB / 414.1 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.001759/0.3544, allocations: 1.085 MB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3545, allocations: 8.031 kB / 0.5716 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.3548, allocations: 120.2 kB / 0.5717 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.3558, allocations: 0.5264 MB / 0.5722 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.3559, allocations: 66 kB / 0.5723 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.3561, allocations: 95.95 kB / 0.5724 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.3577, allocations: 0.8892 MB / 0.5732 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.3577, allocations: 7.938 kB / 0.5733 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.3578, allocations: 40 kB / 0.5733 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-05/0.3578, allocations: 24 kB / 0.5733 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3589, allocations: 0.519 MB / 0.5738 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.3628, allocations: 3.209 MB / 0.577 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.3635, allocations: 212.2 kB / 0.5772 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.3636, allocations: 92.77 kB / 0.5772 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.3638, allocations: 23.98 kB / 0.5773 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3638, allocations: 34.55 kB / 0.5773 GB, free: 3.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.3638, allocations: 0 / 0.5773 GB, free: 3.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002626/0.3664, allocations: 1.154 MB / 0.5784 GB, free: 2.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3665, allocations: 55.41 kB / 0.5785 GB, free: 2.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.367, allocations: 413.7 kB / 0.5789 GB, free: 1.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.367, allocations: 37.64 kB / 0.5789 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.3674, allocations: 479.5 kB / 0.5794 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3675, allocations: 146.8 kB / 0.5795 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3677, allocations: 102.2 kB / 0.5796 GB, free: 1.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3679, allocations: 358.8 kB / 0.58 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3681, allocations: 113.2 kB / 0.5801 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.3685, allocations: 315 kB / 0.5804 GB, free: 216 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.3692, allocations: 460.7 kB / 0.5808 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3692, allocations: 0 / 0.5808 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008726/0.3701, allocations: 0.5166 MB / 0.5813 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.3701, allocations: 8 kB / 0.5813 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3701, allocations: 4 kB / 0.5813 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.3704, allocations: 41.62 kB / 0.5814 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.3708, allocations: 131.8 kB / 0.5815 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004693/0.3712, allocations: 0.5562 MB / 0.582 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.3714, allocations: 16 kB / 0.582 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3715, allocations: 24 kB / 0.5821 GB, free: 14.34 MB / 430.1 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.000376/0.3719, allocations: 233.6 kB / 0.5823 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.372, allocations: 51.61 kB / 0.5823 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.3726, allocations: 343.1 kB / 0.5827 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3726, allocations: 0 / 0.5827 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3726, allocations: 4 kB / 0.5827 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3726, allocations: 3.984 kB / 0.5827 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3742, allocations: 0.8829 MB / 0.5835 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3742, allocations: 4 kB / 0.5835 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.3746, allocations: 79.91 kB / 0.5836 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.3747, allocations: 33 kB / 0.5836 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.3747, allocations: 15.98 kB / 0.5837 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004373/0.3752, allocations: 0.5523 MB / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3752, allocations: 0 / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.376, allocations: 0.5601 MB / 0.5847 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.3761, allocations: 43.66 kB / 0.5848 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.3761, allocations: 8 kB / 0.5848 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3763, allocations: 8 kB / 0.5848 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3764, allocations: 32.05 kB / 0.5848 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3764, allocations: 19.94 kB / 0.5849 GB, free: 11.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.3767, allocations: 275.1 kB / 0.5851 GB, free: 11.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3767, allocations: 0 / 0.5851 GB, free: 11.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000576/0.3773, allocations: 127.9 kB / 0.5852 GB, free: 10.96 MB / 430.1 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.000206/0.3775, allocations: 115.1 kB / 0.5853 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006681/0.3782, allocations: 307.9 kB / 0.5856 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3782, allocations: 0 / 0.5856 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.3784, allocations: 145.3 kB / 0.5858 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.379, allocations: 74.31 kB / 0.5858 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.3818, allocations: 1.693 MB / 0.5875 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3822, allocations: 364 kB / 0.5878 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3823, allocations: 47.42 kB / 0.5879 GB, free: 8.148 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3823, allocations: 0 / 0.5879 GB, free: 8.148 MB / 430.1 MB Notification: Performance of Templates: time 0.01681/0.3991, allocations: 11.65 MB / 0.5993 GB, free: 12.5 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.673706454224885]