Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001258/0.001258, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001484/0.001484, allocations: 202.9 kB / 23.73 MB, free: 4.379 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2318/0.2318, allocations: 46.95 MB / 360.9 MB, free: 4.039 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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.91 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 66.04 MB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004093/0.3192, allocations: 2.807 MB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.32, allocations: 414.5 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.3201, allocations: 11.94 kB / 0.5637 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3202, allocations: 63.31 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.3205, allocations: 170.5 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3208, allocations: 103.9 kB / 0.5641 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.3213, allocations: 0.5365 MB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.3216, allocations: 117.2 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.3218, allocations: 215.2 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.3221, allocations: 215 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.3222, allocations: 44 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.3222, allocations: 40 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.3223, allocations: 95.62 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.3226, allocations: 207.1 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.3232, allocations: 0.5347 MB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3232, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3232, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.3232, allocations: 0 / 0.566 GB, free: 14.52 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001095/0.3243, allocations: 0.6571 MB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3243, allocations: 11.97 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.3245, allocations: 86.7 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.3245, allocations: 56.61 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3249, allocations: 229.8 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.325, allocations: 33.38 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3251, allocations: 56.33 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.3258, allocations: 458.7 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.3259, allocations: 11.89 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.3259, allocations: 24 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3259, allocations: 12 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.3264, allocations: 255.7 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.3287, allocations: 1.562 MB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.3292, allocations: 407.7 kB / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.3294, allocations: 151.7 kB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3295, allocations: 8 kB / 0.5699 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3295, allocations: 46.5 kB / 0.5699 GB, free: 10.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.3295, allocations: 0 / 0.5699 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007786/0.3303, allocations: 361.4 kB / 0.5703 GB, free: 9.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.3305, allocations: 265 kB / 0.5705 GB, free: 9.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.3307, allocations: 262.2 kB / 0.5708 GB, free: 9.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3308, allocations: 37.69 kB / 0.5708 GB, free: 9.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.331, allocations: 248.2 kB / 0.5711 GB, free: 8.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3311, allocations: 194.4 kB / 0.5712 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.3313, allocations: 110.6 kB / 0.5713 GB, free: 8.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3315, allocations: 350.8 kB / 0.5717 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3317, allocations: 118 kB / 0.5718 GB, free: 8.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.3321, allocations: 417.6 kB / 0.5722 GB, free: 7.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.3328, allocations: 0.5693 MB / 0.5727 GB, free: 6.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3328, allocations: 4 kB / 0.5727 GB, free: 6.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008619/0.3337, allocations: 0.5672 MB / 0.5733 GB, free: 6.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3337, allocations: 8 kB / 0.5733 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3337, allocations: 15.94 kB / 0.5733 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.3338, allocations: 20.75 kB / 0.5733 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.3343, allocations: 180.3 kB / 0.5735 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.3344, allocations: 23.86 kB / 0.5735 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.3346, allocations: 67.52 kB / 0.5736 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.3347, allocations: 32 kB / 0.5736 GB, free: 6.012 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.0001881/0.3349, allocations: 181.6 kB / 0.5738 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.3351, allocations: 43.7 kB / 0.5738 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.3351, allocations: 41.7 kB / 0.5739 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.3352, allocations: 15.94 kB / 0.5739 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.3352, allocations: 4 kB / 0.5739 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3352, allocations: 3.984 kB / 0.5739 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009959/0.3362, allocations: 364.4 kB / 0.5743 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3362, allocations: 4 kB / 0.5743 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.3368, allocations: 119.9 kB / 0.5744 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3368, allocations: 4 kB / 0.5744 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3368, allocations: 16 kB / 0.5744 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.3368, allocations: 7.938 kB / 0.5744 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3368, allocations: 4 kB / 0.5744 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009559/0.3378, allocations: 1.088 MB / 0.5755 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.3378, allocations: 35.73 kB / 0.5755 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.3379, allocations: 23.94 kB / 0.5755 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.3383, allocations: 8 kB / 0.5755 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.3383, allocations: 31.89 kB / 0.5756 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3384, allocations: 15.98 kB / 0.5756 GB, free: 3.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3385, allocations: 169.2 kB / 0.5757 GB, free: 3.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3385, allocations: 0 / 0.5757 GB, free: 3.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008413/0.3394, allocations: 139.7 kB / 0.5759 GB, free: 3.633 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.001339/0.3407, allocations: 1.64 MB / 0.5775 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.3413, allocations: 337.5 kB / 0.5778 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3413, allocations: 0 / 0.5778 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.3415, allocations: 123.9 kB / 0.5779 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.3427, allocations: 104.5 kB / 0.578 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.3497, allocations: 5.588 MB / 0.5835 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3499, allocations: 232.2 kB / 0.5837 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.3501, allocations: 52.14 kB / 0.5837 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3503, allocations: 139.4 kB / 0.5839 GB, free: 11.01 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3503, allocations: 0 / 0.5839 GB, free: 11.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.3881, allocations: 9.319 MB / 0.593 GB, free: 1.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 2.578 kB / 0.593 GB, free: 1.906 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.740791428019293]