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.001369/0.001369, 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.00175/0.00175, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2424/0.2424, allocations: 46.96 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.003169/0.003169, allocations: 63.89 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3892, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004376/0.3936, allocations: 2.813 MB / 0.5633 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008726/0.3945, allocations: 418.5 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.3946, allocations: 7.938 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.3948, allocations: 67.3 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.3951, allocations: 166.5 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.3954, allocations: 103.9 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000555/0.3959, allocations: 0.5403 MB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.3961, allocations: 109.2 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.3964, allocations: 211.3 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.3967, allocations: 187 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.3967, allocations: 40 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.3968, allocations: 40 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.3969, allocations: 91.7 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.3971, allocations: 211.1 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.3978, allocations: 0.5386 MB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3978, allocations: 0 / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3978, allocations: 4 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3978, allocations: 0 / 0.566 GB, free: 14.7 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.001046/0.3989, allocations: 0.6494 MB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3989, allocations: 8.031 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.399, allocations: 86.72 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.3991, allocations: 60.59 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3995, allocations: 225.8 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.3995, allocations: 37.38 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.3996, allocations: 60.31 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.4003, allocations: 454.7 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.4003, allocations: 15.89 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.4004, allocations: 16 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.4004, allocations: 15.94 kB / 0.5675 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.4008, allocations: 259.6 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.4032, allocations: 1.57 MB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005563/0.4037, allocations: 407.7 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.4039, allocations: 143.7 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4039, allocations: 8 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.404, allocations: 50.5 kB / 0.5699 GB, free: 10.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.404, allocations: 0 / 0.5699 GB, free: 10.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.000737/0.4047, allocations: 353.5 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.4049, allocations: 273 kB / 0.5705 GB, free: 9.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.4051, allocations: 257.8 kB / 0.5707 GB, free: 9.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.4052, allocations: 29.7 kB / 0.5708 GB, free: 9.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.4054, allocations: 252.2 kB / 0.571 GB, free: 9.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.4055, allocations: 190.4 kB / 0.5712 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4057, allocations: 118.6 kB / 0.5713 GB, free: 8.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4058, allocations: 346.8 kB / 0.5716 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.406, allocations: 118 kB / 0.5718 GB, free: 8.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.4065, allocations: 414 kB / 0.5721 GB, free: 7.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/0.4072, allocations: 0.5815 MB / 0.5727 GB, free: 7.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.4072, allocations: 4 kB / 0.5727 GB, free: 7.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008671/0.4081, allocations: 0.5641 MB / 0.5733 GB, free: 6.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4081, allocations: 12 kB / 0.5733 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4081, allocations: 12 kB / 0.5733 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.4081, allocations: 15.94 kB / 0.5733 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.4087, allocations: 175.7 kB / 0.5735 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.4087, allocations: 23.92 kB / 0.5735 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.409, allocations: 67.52 kB / 0.5736 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.409, allocations: 36 kB / 0.5736 GB, free: 6.199 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.0002037/0.4092, allocations: 181.5 kB / 0.5738 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.4094, allocations: 39.77 kB / 0.5738 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-05/0.4095, allocations: 45.7 kB / 0.5739 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4095, allocations: 11.94 kB / 0.5739 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4095, allocations: 3.938 kB / 0.5739 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4095, allocations: 7.984 kB / 0.5739 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.4105, allocations: 360.4 kB / 0.5742 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4106, allocations: 3.984 kB / 0.5742 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.4111, allocations: 119.9 kB / 0.5743 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.4111, allocations: 7.984 kB / 0.5743 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.4112, allocations: 12 kB / 0.5744 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.4112, allocations: 7.938 kB / 0.5744 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.4112, allocations: 8.062 kB / 0.5744 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.4122, allocations: 1.09 MB / 0.5754 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.4123, allocations: 39.69 kB / 0.5755 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.4124, allocations: 19.92 kB / 0.5755 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.4128, allocations: 8 kB / 0.5755 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.4128, allocations: 31.89 kB / 0.5755 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4128, allocations: 12 kB / 0.5755 GB, free: 4.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.413, allocations: 173.2 kB / 0.5757 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.413, allocations: 0 / 0.5757 GB, free: 3.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008147/0.4138, allocations: 139.7 kB / 0.5758 GB, free: 3.816 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.001359/0.4152, allocations: 1.642 MB / 0.5774 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.4158, allocations: 333.5 kB / 0.5778 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4158, allocations: 0 / 0.5778 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.4159, allocations: 132 kB / 0.5779 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.4172, allocations: 91.98 kB / 0.578 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00707/0.4243, allocations: 5.596 MB / 0.5834 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4245, allocations: 224.3 kB / 0.5837 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.4247, allocations: 48.16 kB / 0.5837 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4249, allocations: 147.4 kB / 0.5838 GB, free: 11.2 MB / 430.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4249, allocations: 0 / 0.5838 GB, free: 11.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/0.4671, allocations: 9.151 MB / 0.5928 GB, free: 2.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.87, allocations: 13.52 kB / 0.5928 GB, free: 2.254 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: 15.060755044221878]