Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001819/0.001819, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002163/0.002163, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.2279/0.2279, allocations: 44.94 MB / 358.9 MB, free: 6.066 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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [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.002212/0.002212, allocations: 67.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3554, allocations: 65.48 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004905/0.3603, allocations: 2.812 MB / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3614, allocations: 414.5 kB / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3615, allocations: 15.88 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.3617, allocations: 63.38 kB / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.362, allocations: 170.5 kB / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3622, allocations: 99.88 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005484/0.3628, allocations: 0.5481 MB / 0.561 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.363, allocations: 105.2 kB / 0.5611 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.3633, allocations: 207.3 kB / 0.5613 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3636, allocations: 191 kB / 0.5614 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.3636, allocations: 40 kB / 0.5615 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.3637, allocations: 40 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.3638, allocations: 95.67 kB / 0.5616 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.364, allocations: 211.1 kB / 0.5618 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.3646, allocations: 0.527 MB / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3646, allocations: 0 / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3646, allocations: 0 / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3646, allocations: 0 / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001025/0.3657, allocations: 0.6571 MB / 0.563 GB, free: 1.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3657, allocations: 12.03 kB / 0.563 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.336e-05/0.3658, allocations: 82.7 kB / 0.5631 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.3659, allocations: 56.61 kB / 0.5631 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.3662, allocations: 229.8 kB / 0.5633 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.3662, allocations: 33.38 kB / 0.5634 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.3663, allocations: 56.33 kB / 0.5634 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.367, allocations: 458.6 kB / 0.5639 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.3671, allocations: 15.88 kB / 0.5639 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.3671, allocations: 24 kB / 0.5639 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.3672, allocations: 12 kB / 0.5639 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.3676, allocations: 259.7 kB / 0.5642 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.3699, allocations: 1.566 MB / 0.5657 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.3705, allocations: 399.8 kB / 0.5661 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3707, allocations: 155.8 kB / 0.5662 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3707, allocations: 7.984 kB / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3707, allocations: 46.5 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.3707, allocations: 0 / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007937/0.3715, allocations: 361.3 kB / 0.5666 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.3717, allocations: 265 kB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.372, allocations: 266.2 kB / 0.5671 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.372, allocations: 33.7 kB / 0.5672 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.3722, allocations: 248.2 kB / 0.5674 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.3723, allocations: 190.4 kB / 0.5676 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.3725, allocations: 114.6 kB / 0.5677 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3727, allocations: 346.8 kB / 0.568 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.3729, allocations: 121.9 kB / 0.5681 GB, free: 11.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.3733, allocations: 413.6 kB / 0.5685 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/0.3741, allocations: 0.5766 MB / 0.5691 GB, free: 10.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3741, allocations: 0 / 0.5691 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009021/0.375, allocations: 0.5719 MB / 0.5696 GB, free: 9.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.375, allocations: 22.11 kB / 0.5697 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.375, allocations: 8 kB / 0.5697 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.375, allocations: 20.72 kB / 0.5697 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.3756, allocations: 175.7 kB / 0.5699 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/0.3756, allocations: 19.92 kB / 0.5699 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.3759, allocations: 67.52 kB / 0.5699 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.3759, allocations: 32 kB / 0.57 GB, free: 9.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.3761, allocations: 181.6 kB / 0.5701 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.3763, allocations: 43.75 kB / 0.5702 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.66e-05/0.3764, allocations: 45.7 kB / 0.5702 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3764, allocations: 7.938 kB / 0.5702 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3764, allocations: 4 kB / 0.5702 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.3765, allocations: 3.984 kB / 0.5702 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.3775, allocations: 364.4 kB / 0.5706 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3775, allocations: 4 kB / 0.5706 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.378, allocations: 127.8 kB / 0.5707 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.378, allocations: 0 / 0.5707 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.3781, allocations: 16 kB / 0.5707 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.3781, allocations: 11.92 kB / 0.5707 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3781, allocations: 4 kB / 0.5708 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009851/0.3791, allocations: 1.091 MB / 0.5718 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.3791, allocations: 31.75 kB / 0.5718 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.3792, allocations: 15.94 kB / 0.5719 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.3796, allocations: 12 kB / 0.5719 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3796, allocations: 35.88 kB / 0.5719 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3796, allocations: 12 kB / 0.5719 GB, free: 7.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.3798, allocations: 169.2 kB / 0.5721 GB, free: 7.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3798, allocations: 0 / 0.5721 GB, free: 7.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008365/0.3807, allocations: 143.7 kB / 0.5722 GB, free: 7.145 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.382, allocations: 1.646 MB / 0.5738 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005583/0.3825, allocations: 328.9 kB / 0.5741 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3825, allocations: 0.8125 kB / 0.5741 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3827, allocations: 127.8 kB / 0.5743 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.3839, allocations: 93.2 kB / 0.5743 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007373/0.3913, allocations: 5.608 MB / 0.5798 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.3916, allocations: 228.3 kB / 0.58 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.3918, allocations: 44.17 kB / 0.5801 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.392, allocations: 143.4 kB / 0.5802 GB, free: 14.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.392, allocations: 0 / 0.5802 GB, free: 14.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.4316, allocations: 9.157 MB / 0.5892 GB, free: 5.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 9.172 kB / 0.5892 GB, free: 5.57 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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: 15.213438275270164]