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.000748/0.000748, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001778, allocations: 449.7 kB / 10.37 MB, free: 324 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.000695/0.000695, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008732/0.001568, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.8941/0.8941, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09481/0.9889, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2617/0.2617, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02667/0.2884, allocations: 13.23 MB / 292.6 MB, free: 6.477 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.363e-06/1.363e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.614e-05, allocations: 3.516 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006295/0.006311, allocations: 3.079 MB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006113/0.006922, allocations: 454.1 kB / 297.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.007042, allocations: 7.938 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.007141, allocations: 63.31 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.007386, allocations: 178.4 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.007536, allocations: 107.8 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.007952, allocations: 0.5634 MB / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.00813, allocations: 113.8 kB / 298.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.00843, allocations: 335.4 kB / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.01163, allocations: 163.6 kB / 298.9 MB, free: 152 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.01169, allocations: 43.94 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.01175, allocations: 40 kB / 299 MB, free: 68 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.01182, allocations: 71.8 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.01197, allocations: 151.8 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.01231, allocations: 326.7 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.01233, allocations: 0 / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01233, allocations: 0 / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.01234, allocations: 0 / 299.5 MB, free: 15.53 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.0007851/0.01312, allocations: 0.7386 MB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.01315, allocations: 8.922 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.01324, allocations: 76.88 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.01346, allocations: 201 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.01349, allocations: 33.38 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.01356, allocations: 64.25 kB / 300.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.01391, allocations: 362.5 kB / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.01393, allocations: 8.141 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.01396, allocations: 16.38 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.01397, allocations: 16.38 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.01414, allocations: 139.7 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.01843, allocations: 1.342 MB / 302.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.01877, allocations: 311.6 kB / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.01887, allocations: 119.8 kB / 302.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.01889, allocations: 11.94 kB / 302.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.01892, allocations: 50.55 kB / 303 MB, free: 11.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.933e-06/0.01892, allocations: 3.938 kB / 303 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004029/0.01932, allocations: 230.3 kB / 303.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.01941, allocations: 269.5 kB / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01956, allocations: 240.8 kB / 303.7 MB, free: 11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.01958, allocations: 37.7 kB / 303.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.01968, allocations: 232.1 kB / 304 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.01979, allocations: 194.4 kB / 304.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.01999, allocations: 118.6 kB / 304.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.02009, allocations: 354.7 kB / 304.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.02015, allocations: 49.97 kB / 304.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.02036, allocations: 353.6 kB / 305 MB, free: 9.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/0.02375, allocations: 490 kB / 305.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.02375, allocations: 7.938 kB / 305.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004342/0.02419, allocations: 396.9 kB / 305.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.02421, allocations: 8 kB / 305.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.02422, allocations: 12.84 kB / 305.9 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.02423, allocations: 12.62 kB / 305.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.02475, allocations: 227.7 kB / 306.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.02476, allocations: 19.88 kB / 306.2 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.02496, allocations: 63.56 kB / 306.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.02498, allocations: 28 kB / 306.2 MB, free: 8.148 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 0.0001047/0.02509, allocations: 157.6 kB / 306.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.02524, allocations: 39.97 kB / 306.4 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.0253, allocations: 41.77 kB / 306.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.0253, allocations: 12 kB / 306.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.02531, allocations: 3.938 kB / 306.5 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.02531, allocations: 7.984 kB / 306.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006684/0.02598, allocations: 221.5 kB / 306.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02599, allocations: 3.938 kB / 306.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/0.02947, allocations: 155.1 kB / 306.9 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.0295, allocations: 39.69 kB / 306.9 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.02951, allocations: 11.92 kB / 306.9 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.02953, allocations: 16 kB / 306.9 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.02954, allocations: 8 kB / 306.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02954, allocations: 0 / 306.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.03024, allocations: 0.9547 MB / 307.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.03028, allocations: 15.94 kB / 307.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.03063, allocations: 12 kB / 307.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.03066, allocations: 31.89 kB / 308 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.03067, allocations: 7.984 kB / 308 MB, free: 6.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.03073, allocations: 74.78 kB / 308 MB, free: 6.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03073, allocations: 4 kB / 308 MB, free: 6.289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006524/0.03138, allocations: 135.8 kB / 308.2 MB, free: 6.156 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 8.899e-05/0.03147, allocations: 92.3 kB / 308.3 MB, free: 6.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.03176, allocations: 267.6 kB / 308.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.03177, allocations: 9 kB / 308.5 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/0.03187, allocations: 108.7 kB / 308.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/0.03582, allocations: 166.3 kB / 308.8 MB, free: 5.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.05005, allocations: 0.9512 MB / 309.8 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.05019, allocations: 121.8 kB / 309.9 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.05033, allocations: 48.25 kB / 309.9 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.05053, allocations: 141.3 kB / 310.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.05053, allocations: 4 kB / 310.1 MB, free: 4.191 MB / 298.7 MB Notification: Performance of Templates: time 0.008559/0.05909, allocations: 5.261 MB / 315.3 MB, free: 15.08 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.936772941611707]