Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 91.62 kB / 21.44 MB, free: 3.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 159.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8665/0.8665, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.696e-05, allocations: 7.062 kB / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003985/0.004012, allocations: 3.008 MB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1925/0.1965, allocations: 0.8008 MB / 444.6 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.1969, allocations: 15.03 kB / 444.6 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.1971, allocations: 71.55 kB / 444.7 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.1974, allocations: 196.6 kB / 444.9 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1976, allocations: 108.1 kB / 445 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1978, allocations: 0.6132 MB / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.198, allocations: 114.1 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1982, allocations: 356.2 kB / 446.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1983, allocations: 169.1 kB / 446.3 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.1984, allocations: 44.25 kB / 446.3 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/0.1984, allocations: 44.28 kB / 446.3 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.1984, allocations: 103.7 kB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.1985, allocations: 194.8 kB / 446.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1988, allocations: 0.5622 MB / 447.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1988, allocations: 0 / 447.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1988, allocations: 0.7188 kB / 447.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1989, allocations: 0 / 447.2 MB, free: 43.41 MB / 410.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.0005728/0.1994, allocations: 0.6917 MB / 447.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1995, allocations: 8.219 kB / 447.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.1995, allocations: 56.55 kB / 447.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1998, allocations: 257 kB / 448.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1998, allocations: 34.41 kB / 448.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.1999, allocations: 67.92 kB / 448.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.2002, allocations: 435.7 kB / 448.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.2002, allocations: 10.02 kB / 448.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.2003, allocations: 19.44 kB / 448.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2003, allocations: 22.25 kB / 448.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.2005, allocations: 307.3 kB / 449.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.2013, allocations: 0.933 MB / 450 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.2018, allocations: 381.4 kB / 450.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.2019, allocations: 194.5 kB / 450.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2019, allocations: 10.05 kB / 450.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.202, allocations: 40.25 kB / 450.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.853e-06/0.202, allocations: 0 / 450.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.001494/0.2034, allocations: 1.853 MB / 452.5 MB, free: 40.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2035, allocations: 86.27 kB / 452.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.2036, allocations: 240.3 kB / 452.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2036, allocations: 41.08 kB / 452.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.2037, allocations: 217.1 kB / 453 MB, free: 40.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.2037, allocations: 273.7 kB / 453.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.2038, allocations: 123.7 kB / 453.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.2038, allocations: 359.3 kB / 453.8 MB, free: 39.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.204, allocations: 154.8 kB / 453.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2042, allocations: 280.1 kB / 454.2 MB, free: 39.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.2045, allocations: 470.6 kB / 454.7 MB, free: 38.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2045, allocations: 0 / 454.7 MB, free: 38.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004372/0.2049, allocations: 0.5673 MB / 455.2 MB, free: 38.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2049, allocations: 6.688 kB / 455.2 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.205, allocations: 7.375 kB / 455.2 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.205, allocations: 13.62 kB / 455.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2053, allocations: 180.4 kB / 455.4 MB, free: 38.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2053, allocations: 10.28 kB / 455.4 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2054, allocations: 24.61 kB / 455.5 MB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2054, allocations: 27.09 kB / 455.5 MB, free: 38.71 MB / 410.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 9.506e-05/0.2055, allocations: 173.6 kB / 455.7 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.2055, allocations: 49.84 kB / 455.7 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.2056, allocations: 61.39 kB / 455.8 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2056, allocations: 6.406 kB / 455.8 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2056, allocations: 6.5 kB / 455.8 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2056, allocations: 3.328 kB / 455.8 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008992/0.2065, allocations: 1.287 MB / 457.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2065, allocations: 3.25 kB / 457.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.2068, allocations: 160.3 kB / 457.2 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2068, allocations: 10.47 kB / 457.2 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2068, allocations: 14.03 kB / 457.3 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2068, allocations: 8 kB / 457.3 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2069, allocations: 2.969 kB / 457.3 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.2074, allocations: 0.9132 MB / 458.2 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.2074, allocations: 40.14 kB / 458.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2075, allocations: 20.81 kB / 458.2 MB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2076, allocations: 18.28 kB / 458.3 MB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.2076, allocations: 55.34 kB / 458.3 MB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.2076, allocations: 21.03 kB / 458.3 MB, free: 37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.289e-05/0.2077, allocations: 164.6 kB / 458.5 MB, free: 36.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2077, allocations: 0 / 458.5 MB, free: 36.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.208, allocations: 144 kB / 458.6 MB, free: 36.88 MB / 410.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 8.234e-05/0.2081, allocations: 130.4 kB / 458.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.2084, allocations: 430.9 kB / 459.2 MB, free: 36.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2084, allocations: 0 / 459.2 MB, free: 36.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2086, allocations: 225.2 kB / 459.4 MB, free: 36.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.2091, allocations: 130.7 kB / 459.5 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2102, allocations: 1.411 MB / 460.9 MB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.2103, allocations: 243.4 kB / 461.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.2104, allocations: 45.47 kB / 461.2 MB, free: 35.45 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2104, allocations: 0 / 461.2 MB, free: 35.45 MB / 410.7 MB Notification: Performance of Templates: time 0.004607/0.215, allocations: 6.265 MB / 467.5 MB, free: 34.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.62065810803324]