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.002032/0.002032, 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.00241/0.00241, allocations: 215.8 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2431/0.2431, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.002102/0.002102, allocations: 71.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 66.02 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.0045/0.3655, allocations: 2.826 MB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.3662, allocations: 410.5 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3664, allocations: 11.94 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3665, allocations: 71.3 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.3669, allocations: 174.5 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.3672, allocations: 91.88 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006192/0.3678, allocations: 0.5403 MB / 0.5651 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.3681, allocations: 109.2 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.3683, allocations: 211.3 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.3686, allocations: 183.1 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.3687, allocations: 40 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.3688, allocations: 43.94 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.3689, allocations: 95.67 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.3691, allocations: 211.1 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.3697, allocations: 0.5275 MB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3697, allocations: 3.984 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3697, allocations: 4 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3698, allocations: 0 / 0.5665 GB, free: 14.65 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.001141/0.3709, allocations: 0.6454 MB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.371, allocations: 12.03 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.3711, allocations: 56.61 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.3715, allocations: 237.8 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.3715, allocations: 33.38 kB / 0.5674 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.3716, allocations: 56.31 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.3724, allocations: 458.7 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.3724, allocations: 8.141 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.3724, allocations: 23.94 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.3724, allocations: 15.98 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.3729, allocations: 251.7 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.3751, allocations: 1.504 MB / 0.5697 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.3757, allocations: 411.3 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3759, allocations: 143.7 kB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.3759, allocations: 12.48 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.376, allocations: 42.5 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 4.187e-06/0.376, allocations: 3.984 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007924/0.3768, allocations: 361.1 kB / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.377, allocations: 269 kB / 0.5708 GB, free: 9.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3773, allocations: 257.9 kB / 0.5711 GB, free: 9.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3773, allocations: 29.7 kB / 0.5711 GB, free: 9.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3775, allocations: 248.2 kB / 0.5713 GB, free: 9.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.3777, allocations: 186.4 kB / 0.5715 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.3778, allocations: 118.6 kB / 0.5716 GB, free: 8.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.378, allocations: 350.8 kB / 0.572 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3782, allocations: 114.5 kB / 0.5721 GB, free: 8.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.3788, allocations: 421.6 kB / 0.5725 GB, free: 7.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.3795, allocations: 0.5737 MB / 0.573 GB, free: 7.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.3795, allocations: 4 kB / 0.5731 GB, free: 7.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008817/0.3804, allocations: 0.5718 MB / 0.5736 GB, free: 6.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3804, allocations: 8 kB / 0.5736 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3804, allocations: 12 kB / 0.5736 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.3805, allocations: 12 kB / 0.5736 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.381, allocations: 179.7 kB / 0.5738 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/0.3811, allocations: 23.88 kB / 0.5738 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.3813, allocations: 63.52 kB / 0.5739 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.3814, allocations: 39.98 kB / 0.5739 GB, free: 6.324 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.0002082/0.3816, allocations: 181.5 kB / 0.5741 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.3817, allocations: 39.84 kB / 0.5741 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.382, allocations: 41.7 kB / 0.5742 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.382, allocations: 4 kB / 0.5742 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.382, allocations: 7.938 kB / 0.5742 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.382, allocations: 7.984 kB / 0.5742 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.3829, allocations: 301 kB / 0.5745 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.3829, allocations: 4 kB / 0.5745 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.3834, allocations: 119.9 kB / 0.5746 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3834, allocations: 4 kB / 0.5746 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.3835, allocations: 16 kB / 0.5746 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.3835, allocations: 7.984 kB / 0.5746 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3835, allocations: 7.938 kB / 0.5746 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009745/0.3844, allocations: 1.094 MB / 0.5757 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.3845, allocations: 35.75 kB / 0.5757 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.3846, allocations: 12 kB / 0.5758 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.3849, allocations: 8 kB / 0.5758 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.385, allocations: 43.77 kB / 0.5758 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.385, allocations: 11.98 kB / 0.5758 GB, free: 4.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.3852, allocations: 165.2 kB / 0.576 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3852, allocations: 0 / 0.576 GB, free: 4.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008053/0.386, allocations: 139.7 kB / 0.5761 GB, free: 4.023 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.000189/0.3862, allocations: 114.9 kB / 0.5762 GB, free: 3.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.3867, allocations: 332.9 kB / 0.5765 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3867, allocations: 0 / 0.5765 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.3869, allocations: 124.8 kB / 0.5767 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.3882, allocations: 96.03 kB / 0.5767 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.3912, allocations: 1.993 MB / 0.5787 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.3915, allocations: 228.3 kB / 0.5789 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.3916, allocations: 47.44 kB / 0.579 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3918, allocations: 31.44 kB / 0.579 GB, free: 1 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3918, allocations: 0 / 0.579 GB, free: 1 MB / 414.1 MB Notification: Performance of Templates: time 0.009933/0.4017, allocations: 4.725 MB / 0.5836 GB, free: 12.36 MB / 430.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/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.471731849014759]