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.001067/0.001067, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002532, 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.001061/0.001061, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002378, 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.9983/0.9983, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09411/1.092, allocations: 53.87 MB / 243.7 MB, free: 14.92 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.2665/0.2665, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02507/0.2915, allocations: 13.23 MB / 292.6 MB, free: 6.492 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.623e-06/1.623e-06, allocations: 3.938 kB / 293.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.419e-05, allocations: 4.844 kB / 293.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.0045/0.004524, allocations: 3.294 MB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.006342, allocations: 0.8691 MB / 298 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.006612, allocations: 11.94 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.006789, allocations: 71.25 kB / 298.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.007186, allocations: 186.3 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.007444, allocations: 111.8 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.008009, allocations: 0.6257 MB / 299 MB, free: 44 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.008283, allocations: 118.6 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.008723, allocations: 371.7 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.008965, allocations: 183.5 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/0.009029, allocations: 40 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.009098, allocations: 44 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.009166, allocations: 79.69 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.00934, allocations: 159.8 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.009777, allocations: 354.6 kB / 300.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.056e-05/0.009798, allocations: 0 / 300.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0098, allocations: 4 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.009819, allocations: 0 / 300.3 MB, free: 14.71 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.0009894/0.01081, allocations: 0.7813 MB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.01085, allocations: 8.922 kB / 301.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.01095, allocations: 80.81 kB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.01128, allocations: 228.5 kB / 301.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.01132, allocations: 41.31 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.01139, allocations: 56.31 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.01179, allocations: 327 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.01182, allocations: 8.141 kB / 301.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.01185, allocations: 20.38 kB / 301.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01186, allocations: 19.94 kB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.01209, allocations: 147.6 kB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.01322, allocations: 0.7533 MB / 302.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.01366, allocations: 269.3 kB / 303 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.01379, allocations: 111.2 kB / 303.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.01382, allocations: 12.48 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.01385, allocations: 47.05 kB / 303.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.01385, allocations: 0 / 303.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.002057/0.01591, allocations: 1.419 MB / 304.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.01597, allocations: 89.59 kB / 304.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.01615, allocations: 232.9 kB / 304.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.01618, allocations: 37.64 kB / 305 MB, free: 9.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.01628, allocations: 197.8 kB / 305.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.01646, allocations: 277.5 kB / 305.4 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.0166, allocations: 130.6 kB / 305.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01673, allocations: 354.7 kB / 305.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.01683, allocations: 65.95 kB / 306 MB, free: 8.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.017, allocations: 184.8 kB / 306.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.01734, allocations: 331.7 kB / 306.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01735, allocations: 0 / 306.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004311/0.01778, allocations: 355.2 kB / 306.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.0178, allocations: 10.5 kB / 306.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.01781, allocations: 0 / 306.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01783, allocations: 8 kB / 306.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.01842, allocations: 229.1 kB / 307.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.01843, allocations: 7.984 kB / 307.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.01863, allocations: 28.12 kB / 307.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.01865, allocations: 16 kB / 307.1 MB, free: 7.574 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.0001351/0.01879, allocations: 153.6 kB / 307.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.01887, allocations: 51.95 kB / 307.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.559e-05/0.01896, allocations: 59.61 kB / 307.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.01896, allocations: 8 kB / 307.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01897, allocations: 0 / 307.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.01898, allocations: 3.984 kB / 307.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.02021, allocations: 0.9549 MB / 308.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.02022, allocations: 4 kB / 308.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.02081, allocations: 198.4 kB / 308.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.02086, allocations: 39.72 kB / 308.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.02087, allocations: 11.94 kB / 308.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.0209, allocations: 16 kB / 308.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.02091, allocations: 7.984 kB / 308.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.02092, allocations: 7.938 kB / 308.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.02154, allocations: 0.6437 MB / 309.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.0216, allocations: 27.94 kB / 309.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.02183, allocations: 20.05 kB / 309.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.0219, allocations: 56.36 kB / 309.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.02192, allocations: 16 kB / 309.4 MB, free: 5.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.022, allocations: 82.64 kB / 309.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.022, allocations: 0 / 309.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.0225, allocations: 144 kB / 309.6 MB, free: 4.953 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.0001427/0.02264, allocations: 100.3 kB / 309.7 MB, free: 4.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.02305, allocations: 314.9 kB / 310 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.98e-05/0.02307, allocations: 4 kB / 310 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.02326, allocations: 180.8 kB / 310.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.02394, allocations: 176 kB / 310.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/0.03104, allocations: 1.073 MB / 311.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.03116, allocations: 131.3 kB / 311.6 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.03136, allocations: 56.7 kB / 311.6 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.03162, allocations: 173.3 kB / 311.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.03162, allocations: 0 / 311.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of Templates: time 0.01023/0.04185, allocations: 6.431 MB / 318.2 MB, free: 12.45 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0651225792244077]