Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 208.2 kB / 23.73 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.611/1.611, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.94 MB / 360.8 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 75.88 kB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3643, allocations: 66.09 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004363/0.3686, allocations: 2.803 MB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.3694, allocations: 414.5 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3696, allocations: 15.88 kB / 0.5643 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.3697, allocations: 67.31 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.37, allocations: 166.6 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3703, allocations: 103.8 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.3708, allocations: 0.5365 MB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.371, allocations: 109.2 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.3713, allocations: 211.3 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.3715, allocations: 187 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.3716, allocations: 44 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.3717, allocations: 40 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.3717, allocations: 99.67 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.3719, allocations: 207.1 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.3725, allocations: 0.5314 MB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3725, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3725, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3725, allocations: 0 / 0.5665 GB, free: 14.46 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.001011/0.3735, allocations: 0.6571 MB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3736, allocations: 8.031 kB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.3737, allocations: 56.61 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.374, allocations: 226.7 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.374, allocations: 37.31 kB / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.3741, allocations: 56.33 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.3749, allocations: 462.6 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.3749, allocations: 8.141 kB / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.3749, allocations: 23.94 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3749, allocations: 12 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.3754, allocations: 259.7 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3776, allocations: 1.508 MB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.3781, allocations: 395.4 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3783, allocations: 148.2 kB / 0.5703 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3784, allocations: 11.98 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.3784, allocations: 54.48 kB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.793e-06/0.3784, allocations: 0 / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007548/0.3792, allocations: 349.6 kB / 0.5707 GB, free: 9.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.3793, allocations: 269 kB / 0.5709 GB, free: 9.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.3796, allocations: 257.8 kB / 0.5712 GB, free: 9.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3796, allocations: 29.7 kB / 0.5712 GB, free: 9.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3798, allocations: 248.8 kB / 0.5714 GB, free: 9.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.3799, allocations: 194.4 kB / 0.5716 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.3801, allocations: 114.6 kB / 0.5717 GB, free: 8.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3802, allocations: 346.8 kB / 0.5721 GB, free: 8.426 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.3805, allocations: 121.9 kB / 0.5722 GB, free: 8.305 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.3809, allocations: 413.6 kB / 0.5726 GB, free: 7.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.3816, allocations: 0.5684 MB / 0.5731 GB, free: 7.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3816, allocations: 4 kB / 0.5731 GB, free: 7.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000873/0.3825, allocations: 0.5764 MB / 0.5737 GB, free: 6.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3825, allocations: 8 kB / 0.5737 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.3825, allocations: 12 kB / 0.5737 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.3826, allocations: 12 kB / 0.5737 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3831, allocations: 180.3 kB / 0.5739 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.3832, allocations: 23.86 kB / 0.5739 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.3834, allocations: 75.45 kB / 0.574 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.3835, allocations: 32 kB / 0.574 GB, free: 6.133 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.0001943/0.3837, allocations: 185.5 kB / 0.5742 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.3838, allocations: 35.81 kB / 0.5742 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.222e-05/0.3839, allocations: 41.7 kB / 0.5743 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3839, allocations: 8 kB / 0.5743 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.384, allocations: 7.922 kB / 0.5743 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.384, allocations: 4 kB / 0.5743 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.3848, allocations: 300.9 kB / 0.5746 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3848, allocations: 7.984 kB / 0.5746 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.3854, allocations: 127.8 kB / 0.5747 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.3854, allocations: 4 kB / 0.5747 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.3854, allocations: 16 kB / 0.5747 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3854, allocations: 4 kB / 0.5747 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3854, allocations: 4 kB / 0.5747 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.3863, allocations: 1.087 MB / 0.5758 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.3864, allocations: 31.75 kB / 0.5758 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.3865, allocations: 19.98 kB / 0.5759 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.3869, allocations: 8 kB / 0.5759 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.3869, allocations: 31.89 kB / 0.5759 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3869, allocations: 16 kB / 0.5759 GB, free: 4.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3871, allocations: 161.2 kB / 0.5761 GB, free: 3.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3871, allocations: 0 / 0.5761 GB, free: 3.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000782/0.3879, allocations: 143.7 kB / 0.5762 GB, free: 3.84 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.0001799/0.3881, allocations: 114.9 kB / 0.5763 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.3886, allocations: 333.5 kB / 0.5766 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3886, allocations: 0 / 0.5766 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.3888, allocations: 120.2 kB / 0.5767 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3899, allocations: 115.2 kB / 0.5768 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.3928, allocations: 1.977 MB / 0.5788 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.393, allocations: 224.3 kB / 0.579 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.3932, allocations: 51.44 kB / 0.579 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.3933, allocations: 31.44 kB / 0.5791 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3933, allocations: 0 / 0.5791 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of Templates: time 0.009525/0.4028, allocations: 4.727 MB / 0.5837 GB, free: 12.17 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.440528716892004]