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.001298/0.001298, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.002341, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001088/0.001088, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008492/0.001937, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9535/0.9535, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.043, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] 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.2544/0.2544, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02644/0.2809, allocations: 13.24 MB / 292.8 MB, free: 6.41 MB / 282.7 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 1.302e-06/1.302e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.11e-05, allocations: 2.969 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002764/0.002785, allocations: 3.081 MB / 297.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.003662, allocations: 446.1 kB / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.003807, allocations: 11.94 kB / 297.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.888e-05/0.003896, allocations: 67.3 kB / 297.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.004136, allocations: 182.3 kB / 297.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.004325, allocations: 99.84 kB / 298 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.004804, allocations: 0.5673 MB / 298.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.004993, allocations: 113.8 kB / 298.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.005316, allocations: 343.3 kB / 299 MB, free: 216 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.005473, allocations: 151.6 kB / 299.1 MB, free: 64 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.005515, allocations: 44 kB / 299.2 MB, free: 20 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.005574, allocations: 44.05 kB / 299.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.005624, allocations: 71.75 kB / 299.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.005738, allocations: 151.7 kB / 299.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.006023, allocations: 326.7 kB / 299.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.006034, allocations: 0 / 299.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006035, allocations: 3.938 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.006046, allocations: 0 / 299.7 MB, free: 15.43 MB / 298.7 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.0006385/0.006685, allocations: 0.7386 MB / 300.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.00672, allocations: 12.92 kB / 300.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.006801, allocations: 72.89 kB / 300.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.00701, allocations: 205 kB / 300.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.007032, allocations: 33.38 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.007092, allocations: 60.27 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.00739, allocations: 362.5 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.007409, allocations: 8.141 kB / 301.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.00743, allocations: 20.36 kB / 301.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.007441, allocations: 12.38 kB / 301.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.007583, allocations: 134.1 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.008727, allocations: 1.342 MB / 302.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.008977, allocations: 331.7 kB / 303.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.009055, allocations: 107.7 kB / 303.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.009069, allocations: 15.94 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.009094, allocations: 42.5 kB / 303.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.009095, allocations: 4 kB / 303.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003304/0.009426, allocations: 229.5 kB / 303.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.009517, allocations: 265 kB / 303.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.009659, allocations: 248.8 kB / 303.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.009676, allocations: 29.7 kB / 304 MB, free: 10.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.009774, allocations: 240.7 kB / 304.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.009863, allocations: 190.4 kB / 304.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.009946, allocations: 114.6 kB / 304.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.01004, allocations: 358.7 kB / 304.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.01009, allocations: 49.97 kB / 304.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.01027, allocations: 357.6 kB / 305.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.01062, allocations: 0.491 MB / 305.7 MB, free: 8.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.01063, allocations: 0.5 kB / 305.7 MB, free: 8.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003825/0.01101, allocations: 409.1 kB / 306.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01103, allocations: 12 kB / 306.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.01104, allocations: 8 kB / 306.2 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.01106, allocations: 16 kB / 306.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.01145, allocations: 220.2 kB / 306.4 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.01146, allocations: 27.86 kB / 306.4 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.01161, allocations: 63.56 kB / 306.5 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01163, allocations: 24 kB / 306.5 MB, free: 8.027 MB / 298.7 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 9.426e-05/0.01172, allocations: 153.6 kB / 306.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.01182, allocations: 35.97 kB / 306.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.01187, allocations: 45.77 kB / 306.7 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01187, allocations: 4 kB / 306.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.01188, allocations: 7.938 kB / 306.7 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01189, allocations: 7.984 kB / 306.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.01245, allocations: 229.4 kB / 307 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01246, allocations: 4 kB / 307 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.0128, allocations: 151.5 kB / 307.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.01283, allocations: 47.69 kB / 307.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01283, allocations: 7.938 kB / 307.2 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.01285, allocations: 8 kB / 307.2 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.01286, allocations: 4 kB / 307.2 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01286, allocations: 4 kB / 307.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.01331, allocations: 0.9584 MB / 308.2 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.01334, allocations: 15.94 kB / 308.2 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.01355, allocations: 8 kB / 308.2 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.01358, allocations: 35.88 kB / 308.2 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.01359, allocations: 12 kB / 308.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.01364, allocations: 66.78 kB / 308.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01364, allocations: 0 / 308.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004768/0.01412, allocations: 135.8 kB / 308.4 MB, free: 6.051 MB / 298.7 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 9.867e-05/0.01421, allocations: 104.9 kB / 308.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.01456, allocations: 282.1 kB / 308.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/0.01457, allocations: 8.984 kB / 308.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.465e-05/0.01467, allocations: 128.7 kB / 308.9 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/0.01566, allocations: 1.235 MB / 310.2 MB, free: 4.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/0.02173, allocations: 0.9479 MB / 311.1 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.02184, allocations: 125.8 kB / 311.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.02199, allocations: 44.25 kB / 311.3 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.02218, allocations: 149.3 kB / 311.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02218, allocations: 3.938 kB / 311.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of Templates: time 0.007231/0.02941, allocations: 4.719 MB / 316.2 MB, free: 14.13 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9354142853990197]