Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001287/0.001287, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.0014/0.0014, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 46.92 MB / 361.6 MB, free: 4.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 75.88 kB / 0.4974 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 66.02 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007849/0.3299, allocations: 5.82 MB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.3345, allocations: 2.387 MB / 0.5699 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.3353, allocations: 59.5 kB / 0.5699 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.3359, allocations: 230 kB / 0.5701 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.3364, allocations: 182.3 kB / 0.5703 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3376, allocations: 498.6 kB / 0.5708 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.3388, allocations: 1.118 MB / 0.5719 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006765/0.3395, allocations: 425.8 kB / 0.5723 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.34, allocations: 386.7 kB / 0.5727 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.3405, allocations: 394 kB / 0.573 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.3406, allocations: 92 kB / 0.5731 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.3409, allocations: 159.9 kB / 0.5733 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.3411, allocations: 219.3 kB / 0.5735 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.3415, allocations: 477.6 kB / 0.5739 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.343, allocations: 1.282 MB / 0.5752 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.343, allocations: 0 / 0.5752 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.343, allocations: 4 kB / 0.5752 GB, free: 6.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.343, allocations: 0 / 0.5752 GB, free: 6.656 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.001596/0.3446, allocations: 1.085 MB / 0.5763 GB, free: 5.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3446, allocations: 8.031 kB / 0.5763 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.3449, allocations: 120.2 kB / 0.5764 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000959/0.3459, allocations: 0.5225 MB / 0.5769 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.3459, allocations: 66 kB / 0.577 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.3461, allocations: 99.94 kB / 0.577 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3475, allocations: 0.8853 MB / 0.5779 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.3475, allocations: 11.94 kB / 0.5779 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.3476, allocations: 36 kB / 0.578 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3476, allocations: 28 kB / 0.578 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009764/0.3486, allocations: 0.519 MB / 0.5785 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.3524, allocations: 3.505 MB / 0.5819 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.3529, allocations: 210.7 kB / 0.5821 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.3531, allocations: 96.75 kB / 0.5822 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.3532, allocations: 23.92 kB / 0.5822 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3532, allocations: 34.56 kB / 0.5823 GB, free: 15.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.3532, allocations: 0 / 0.5823 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002275/0.3555, allocations: 1.147 MB / 0.5834 GB, free: 13.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3555, allocations: 59.34 kB / 0.5834 GB, free: 13.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.356, allocations: 405.8 kB / 0.5838 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.356, allocations: 29.7 kB / 0.5839 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.3563, allocations: 487.5 kB / 0.5843 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.3565, allocations: 142.8 kB / 0.5845 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3566, allocations: 94.3 kB / 0.5845 GB, free: 12.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3568, allocations: 366.8 kB / 0.5849 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.357, allocations: 109.3 kB / 0.585 GB, free: 12.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3574, allocations: 319 kB / 0.5853 GB, free: 11.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.358, allocations: 455.7 kB / 0.5857 GB, free: 11.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.358, allocations: 7.984 kB / 0.5857 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008115/0.3588, allocations: 0.5135 MB / 0.5862 GB, free: 10.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3588, allocations: 8 kB / 0.5863 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.3588, allocations: 15.97 kB / 0.5863 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.359, allocations: 40.78 kB / 0.5863 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3594, allocations: 119.8 kB / 0.5864 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/0.3598, allocations: 0.564 MB / 0.587 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.36, allocations: 16.12 kB / 0.587 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.3601, allocations: 32 kB / 0.587 GB, free: 9.926 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.0003165/0.3604, allocations: 227.3 kB / 0.5872 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.3605, allocations: 59.61 kB / 0.5873 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006275/0.3611, allocations: 323.1 kB / 0.5876 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3611, allocations: 4 kB / 0.5876 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3611, allocations: 4 kB / 0.5876 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3611, allocations: 7.984 kB / 0.5876 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3626, allocations: 1.019 MB / 0.5886 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3626, allocations: 8.156 kB / 0.5886 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.363, allocations: 75.91 kB / 0.5887 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.3631, allocations: 44.8 kB / 0.5887 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3631, allocations: 12 kB / 0.5887 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003786/0.3635, allocations: 0.5446 MB / 0.5893 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3635, allocations: 3.938 kB / 0.5893 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.3643, allocations: 0.5563 MB / 0.5898 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.3644, allocations: 43.66 kB / 0.5899 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.3644, allocations: 12 kB / 0.5899 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3646, allocations: 8 kB / 0.5899 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.3646, allocations: 31.98 kB / 0.5899 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3646, allocations: 15.94 kB / 0.5899 GB, free: 6.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.3649, allocations: 271.1 kB / 0.5902 GB, free: 6.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3649, allocations: 0 / 0.5902 GB, free: 6.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005221/0.3655, allocations: 127.9 kB / 0.5903 GB, free: 6.402 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.0001742/0.3656, allocations: 119.1 kB / 0.5904 GB, free: 6.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.3663, allocations: 309.3 kB / 0.5907 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3663, allocations: 8.062 kB / 0.5907 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.3665, allocations: 131.8 kB / 0.5909 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.367, allocations: 84.17 kB / 0.5909 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.3697, allocations: 1.681 MB / 0.5926 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.3703, allocations: 0.9639 MB / 0.5935 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.3704, allocations: 39.44 kB / 0.5936 GB, free: 2.996 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3704, allocations: 0 / 0.5936 GB, free: 2.996 MB / 430.1 MB Notification: Performance of Templates: time 0.01529/0.3857, allocations: 11.33 MB / 0.6046 GB, free: 7.676 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.304156760917976]