Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.0008283/0.0008283, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.00192, allocations: 453.9 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.0007077/0.0007077, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000928/0.001636, allocations: 479.6 kB / 11.82 MB, free: 2.34 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.9162/0.9162, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09251/1.009, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2474/0.2474, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03733/0.2848, allocations: 13.24 MB / 292.8 MB, free: 6.398 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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.761e-05, allocations: 2.312 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002837/0.002854, allocations: 3.301 MB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.004152, allocations: 0.8575 MB / 298.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.004316, allocations: 15.88 kB / 298.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.004435, allocations: 75.23 kB / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.004676, allocations: 190.3 kB / 298.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.004819, allocations: 103.8 kB / 298.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.005223, allocations: 0.6219 MB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.005454, allocations: 122.5 kB / 299.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.005767, allocations: 375.7 kB / 299.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.005975, allocations: 179.5 kB / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.006031, allocations: 44 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.692e-05/0.006088, allocations: 44 kB / 300 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.006146, allocations: 79.69 kB / 300.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.006272, allocations: 163.7 kB / 300.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.006571, allocations: 346.7 kB / 300.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.006581, allocations: 0 / 300.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006582, allocations: 0 / 300.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.006591, allocations: 0 / 300.6 MB, free: 14.6 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0006944/0.007286, allocations: 0.7852 MB / 301.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.007316, allocations: 8.922 kB / 301.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.007391, allocations: 76.88 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.007625, allocations: 236.5 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.00765, allocations: 37.38 kB / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.007702, allocations: 52.33 kB / 301.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.007982, allocations: 327 kB / 302.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.008, allocations: 8.141 kB / 302.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.00802, allocations: 24.38 kB / 302.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.00803, allocations: 15.94 kB / 302.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.008183, allocations: 151.5 kB / 302.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.008962, allocations: 0.7611 MB / 303 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.009291, allocations: 265.8 kB / 303.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.00939, allocations: 115.2 kB / 303.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.009407, allocations: 16.5 kB / 303.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.009435, allocations: 43 kB / 303.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.623e-06/0.009437, allocations: 0 / 303.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001538/0.01097, allocations: 1.449 MB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.01102, allocations: 89.61 kB / 305 MB, free: 9.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.01116, allocations: 228.9 kB / 305.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.01118, allocations: 41.64 kB / 305.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.01127, allocations: 197.8 kB / 305.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.0114, allocations: 281.5 kB / 305.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.01149, allocations: 126.6 kB / 305.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01161, allocations: 362.7 kB / 306.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.01168, allocations: 61.97 kB / 306.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01181, allocations: 188.8 kB / 306.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.01205, allocations: 330.3 kB / 306.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01205, allocations: 0 / 306.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003011/0.01235, allocations: 353.1 kB / 307.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01236, allocations: 8 kB / 307.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01237, allocations: 0 / 307.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01238, allocations: 8 kB / 307.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.0128, allocations: 223.7 kB / 307.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.0128, allocations: 4 kB / 307.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01292, allocations: 32.17 kB / 307.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.01294, allocations: 16 kB / 307.4 MB, free: 7.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001019/0.01304, allocations: 153.6 kB / 307.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.0131, allocations: 51.95 kB / 307.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.01317, allocations: 59.61 kB / 307.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.01317, allocations: 8 kB / 307.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.01318, allocations: 0 / 307.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01318, allocations: 3.984 kB / 307.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.01428, allocations: 0.9626 MB / 308.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.01428, allocations: 4 kB / 308.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/0.01485, allocations: 200.2 kB / 308.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.01491, allocations: 43.72 kB / 308.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.01492, allocations: 7.938 kB / 308.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.01495, allocations: 16 kB / 308.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.01496, allocations: 7.938 kB / 308.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.01496, allocations: 4 kB / 308.9 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.01558, allocations: 0.6437 MB / 309.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.01563, allocations: 27.94 kB / 309.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.01584, allocations: 16 kB / 309.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.01591, allocations: 56.34 kB / 309.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.01593, allocations: 16 kB / 309.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.016, allocations: 78.7 kB / 309.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.016, allocations: 0 / 309.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004294/0.01643, allocations: 144 kB / 309.9 MB, free: 4.797 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001308/0.01656, allocations: 100.3 kB / 310 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.01697, allocations: 328.3 kB / 310.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.518e-05/0.017, allocations: 8 kB / 310.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.01725, allocations: 211 kB / 310.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.0184, allocations: 1.345 MB / 311.9 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.02404, allocations: 1.061 MB / 312.9 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.802e-05/0.02413, allocations: 135.3 kB / 313.1 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.02426, allocations: 60.7 kB / 313.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.02448, allocations: 165.3 kB / 313.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02448, allocations: 0 / 313.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of Templates: time 0.007434/0.03191, allocations: 6.167 MB / 319.4 MB, free: 11.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.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.9714416274800897]