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.001431/0.001431, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001579/0.001579, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.22/0.22, allocations: 44.91 MB / 359.6 MB, free: 6.285 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",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.00201/0.00201, allocations: 63.91 kB / 0.4938 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004546/0.3325, allocations: 3.088 MB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.3332, allocations: 410.5 kB / 0.5612 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3334, allocations: 11.94 kB / 0.5612 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3335, allocations: 71.3 kB / 0.5613 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.3338, allocations: 166.5 kB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.334, allocations: 99.88 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.3346, allocations: 0.5481 MB / 0.5621 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3349, allocations: 113.2 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.3352, allocations: 207.4 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.3355, allocations: 215 kB / 0.5626 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.3356, allocations: 40 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.3356, allocations: 47.94 kB / 0.5627 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.3357, allocations: 95.62 kB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.336, allocations: 254.9 kB / 0.563 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.3366, allocations: 0.5232 MB / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3366, allocations: 0 / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3366, allocations: 0 / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3366, allocations: 0 / 0.5635 GB, free: 1.91 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.001052/0.3376, allocations: 0.6533 MB / 0.5641 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3377, allocations: 12.03 kB / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.227e-05/0.3377, allocations: 9.188 kB / 0.5642 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.836e-05/0.3378, allocations: 86.7 kB / 0.5642 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.3379, allocations: 56.61 kB / 0.5643 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.3382, allocations: 225.8 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.3383, allocations: 37.38 kB / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.3383, allocations: 56.31 kB / 0.5646 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.3391, allocations: 458.4 kB / 0.565 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.3391, allocations: 11.89 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.3391, allocations: 27.94 kB / 0.5651 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3391, allocations: 12 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.3396, allocations: 267.6 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.3419, allocations: 1.652 MB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.3424, allocations: 395.9 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.3426, allocations: 151.8 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3426, allocations: 8 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3427, allocations: 54.42 kB / 0.5675 GB, free: 13.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/0.3427, allocations: 0 / 0.5675 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007656/0.3434, allocations: 353.8 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.3436, allocations: 269.5 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.3439, allocations: 249.9 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3439, allocations: 33.7 kB / 0.5684 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3441, allocations: 248.2 kB / 0.5686 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.3443, allocations: 190.4 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.3444, allocations: 114.6 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3446, allocations: 346.8 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.3448, allocations: 125.9 kB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.3452, allocations: 413.6 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.346, allocations: 0.573 MB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.346, allocations: 4 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009148/0.3469, allocations: 0.5715 MB / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3469, allocations: 11.94 kB / 0.5709 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.347, allocations: 12 kB / 0.5709 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.347, allocations: 15.94 kB / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.3476, allocations: 179.7 kB / 0.5711 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.3476, allocations: 15.94 kB / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.348, allocations: 67.95 kB / 0.5712 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.348, allocations: 36 kB / 0.5712 GB, free: 9.316 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.0002583/0.3482, allocations: 193.5 kB / 0.5714 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.3485, allocations: 39.77 kB / 0.5714 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.3486, allocations: 45.64 kB / 0.5715 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3486, allocations: 8 kB / 0.5715 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3486, allocations: 4 kB / 0.5715 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.3486, allocations: 0 / 0.5715 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3497, allocations: 384.4 kB / 0.5719 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3497, allocations: 8 kB / 0.5719 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.3503, allocations: 119.9 kB / 0.572 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3503, allocations: 4 kB / 0.572 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.3503, allocations: 27.91 kB / 0.572 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.3503, allocations: 7.938 kB / 0.572 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3503, allocations: 240 / 0.572 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.3513, allocations: 1.099 MB / 0.5731 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.3514, allocations: 39.62 kB / 0.5731 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.3514, allocations: 19.94 kB / 0.5732 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.3518, allocations: 8 kB / 0.5732 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3519, allocations: 31.94 kB / 0.5732 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3519, allocations: 20.12 kB / 0.5732 GB, free: 7.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.3521, allocations: 169.2 kB / 0.5734 GB, free: 7.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3521, allocations: 0 / 0.5734 GB, free: 7.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008925/0.353, allocations: 139.7 kB / 0.5735 GB, free: 6.891 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.001274/0.3542, allocations: 1.64 MB / 0.5751 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.3548, allocations: 333.4 kB / 0.5754 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3548, allocations: 0 / 0.5754 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.355, allocations: 119.8 kB / 0.5755 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3562, allocations: 96 kB / 0.5756 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006938/0.3632, allocations: 5.628 MB / 0.5811 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.3637, allocations: 0.8313 MB / 0.5819 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.3638, allocations: 44.17 kB / 0.582 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.364, allocations: 139.4 kB / 0.5821 GB, free: 13.64 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.364, allocations: 4 kB / 0.5821 GB, free: 13.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.3947, allocations: 8.892 MB / 0.5908 GB, free: 4.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.36, allocations: 3.859 kB / 0.5908 GB, free: 4.922 MB / 430.1 MB " [Timeout remaining time 647] (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.67324141896097]