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.001409/0.001409, allocations: 70.11 kB / 21.24 MB, free: 0.5469 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.001538/0.001538, allocations: 157.8 kB / 24.5 MB, free: 3.719 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.535/1.535, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2207/0.2207, allocations: 34.28 MB / 295.5 MB, free: 14.57 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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003228/0.003228, allocations: 71.88 kB / 443.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3546, allocations: 66.01 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002992/0.3576, allocations: 2.812 MB / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005938/0.3582, allocations: 417.2 kB / 0.5004 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3583, allocations: 10.22 kB / 0.5004 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.3584, allocations: 66.92 kB / 0.5004 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.3587, allocations: 173.5 kB / 0.5006 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3589, allocations: 100.5 kB / 0.5007 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.3592, allocations: 0.5387 MB / 0.5012 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.3594, allocations: 111.5 kB / 0.5013 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3596, allocations: 210.9 kB / 0.5015 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.3598, allocations: 187.7 kB / 0.5017 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.3598, allocations: 45.03 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.04e-05/0.3599, allocations: 40.41 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.36, allocations: 93.12 kB / 0.5019 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.3601, allocations: 210 kB / 0.5021 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.3605, allocations: 0.5301 MB / 0.5026 GB, free: 26.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3605, allocations: 0 / 0.5026 GB, free: 26.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3605, allocations: 0 / 0.5026 GB, free: 26.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3606, allocations: 2.781 kB / 0.5026 GB, free: 26.51 MB / 446.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.0008467/0.3614, allocations: 0.6542 MB / 0.5032 GB, free: 26.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3614, allocations: 10.12 kB / 0.5032 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.3615, allocations: 59.27 kB / 0.5033 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3618, allocations: 223.6 kB / 0.5035 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3618, allocations: 32 kB / 0.5035 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.3619, allocations: 61.61 kB / 0.5036 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.3625, allocations: 460.1 kB / 0.504 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.3625, allocations: 7.359 kB / 0.5041 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3625, allocations: 26.34 kB / 0.5041 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3625, allocations: 13.59 kB / 0.5041 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.3629, allocations: 259.5 kB / 0.5043 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3645, allocations: 1.502 MB / 0.5058 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.3649, allocations: 403.2 kB / 0.5062 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.365, allocations: 151.5 kB / 0.5063 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.365, allocations: 13.2 kB / 0.5063 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.365, allocations: 47.09 kB / 0.5064 GB, free: 23.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.365, allocations: 0 / 0.5064 GB, free: 23.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005947/0.3656, allocations: 351.2 kB / 0.5067 GB, free: 23.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.3657, allocations: 267 kB / 0.507 GB, free: 23.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3659, allocations: 252.1 kB / 0.5072 GB, free: 23.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3659, allocations: 37.23 kB / 0.5073 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.366, allocations: 245 kB / 0.5075 GB, free: 22.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.3661, allocations: 196.3 kB / 0.5077 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.3662, allocations: 110.6 kB / 0.5078 GB, free: 22.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.3662, allocations: 344.9 kB / 0.5081 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3664, allocations: 121.6 kB / 0.5082 GB, free: 22.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.3667, allocations: 424.3 kB / 0.5086 GB, free: 21.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.3672, allocations: 0.579 MB / 0.5092 GB, free: 21.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3672, allocations: 2.969 kB / 0.5092 GB, free: 21.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006685/0.3679, allocations: 0.5631 MB / 0.5098 GB, free: 21.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3679, allocations: 12.52 kB / 0.5098 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3679, allocations: 12.25 kB / 0.5098 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.3679, allocations: 12.16 kB / 0.5098 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.3684, allocations: 174.6 kB / 0.51 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.3684, allocations: 28.58 kB / 0.51 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.3687, allocations: 69.2 kB / 0.51 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.3687, allocations: 31.66 kB / 0.5101 GB, free: 21.01 MB / 446.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.0001343/0.3688, allocations: 186.5 kB / 0.5103 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.369, allocations: 38.12 kB / 0.5103 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.3691, allocations: 42.36 kB / 0.5103 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3691, allocations: 5.844 kB / 0.5103 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3691, allocations: 10.81 kB / 0.5103 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3691, allocations: 3.562 kB / 0.5104 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.3698, allocations: 304.3 kB / 0.5106 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3698, allocations: 4 kB / 0.5106 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.3703, allocations: 123.2 kB / 0.5108 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3703, allocations: 6.5 kB / 0.5108 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.3704, allocations: 14.19 kB / 0.5108 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3704, allocations: 6.297 kB / 0.5108 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3704, allocations: 3.219 kB / 0.5108 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.3709, allocations: 1.088 MB / 0.5119 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.371, allocations: 31.94 kB / 0.5119 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.371, allocations: 21.45 kB / 0.5119 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.3714, allocations: 6.969 kB / 0.5119 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.3714, allocations: 41.34 kB / 0.5119 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3715, allocations: 13.09 kB / 0.512 GB, free: 19.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.928e-05/0.3715, allocations: 161 kB / 0.5121 GB, free: 19.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 0.5121 GB, free: 19.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007727/0.3723, allocations: 140.4 kB / 0.5122 GB, free: 19.5 MB / 446.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.0001528/0.3725, allocations: 112.7 kB / 0.5124 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.373, allocations: 334.9 kB / 0.5127 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.373, allocations: 1.5 kB / 0.5127 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3732, allocations: 122 kB / 0.5128 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3743, allocations: 114.5 kB / 0.5129 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.3764, allocations: 1.942 MB / 0.5148 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.3766, allocations: 225.6 kB / 0.515 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.3768, allocations: 51.86 kB / 0.5151 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.3769, allocations: 33.91 kB / 0.5151 GB, free: 17.56 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3769, allocations: 0 / 0.5151 GB, free: 17.56 MB / 446.1 MB Notification: Performance of Templates: time 0.008579/0.3854, allocations: 4.096 MB / 0.5191 GB, free: 17.03 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] 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: 5.290856203995645]