Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 105.4 kB / 18.78 MB, free: 3.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 211.2 kB / 19.8 MB, free: 2.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.83 kB / 368.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2327, allocations: 53.32 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003676/0.2364, allocations: 2.439 MB / 424.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004745/0.2369, allocations: 255 kB / 424.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.237, allocations: 8 kB / 424.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2371, allocations: 43.58 kB / 425 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.2373, allocations: 83.27 kB / 425.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.2374, allocations: 59.86 kB / 425.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.2378, allocations: 282.7 kB / 425.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2379, allocations: 69.72 kB / 425.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2381, allocations: 115.6 kB / 425.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.2382, allocations: 119.4 kB / 425.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.2383, allocations: 24 kB / 425.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.054e-05/0.2383, allocations: 20 kB / 425.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.2384, allocations: 51.84 kB / 425.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2385, allocations: 139.3 kB / 425.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.2389, allocations: 290.4 kB / 426.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2389, allocations: 0 / 426.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2389, allocations: 7.875 kB / 426.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2389, allocations: 0 / 426.2 MB, free: 3.867 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008273/0.2397, allocations: 0.5418 MB / 426.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2397, allocations: 8.031 kB / 426.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.2398, allocations: 32.75 kB / 426.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.2402, allocations: 256.5 kB / 427.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2402, allocations: 16.94 kB / 427.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.2402, allocations: 24.38 kB / 427.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.2407, allocations: 240 kB / 427.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.2407, allocations: 12.12 kB / 427.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.2407, allocations: 11.94 kB / 427.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2407, allocations: 8 kB / 427.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.241, allocations: 159.8 kB / 427.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2422, allocations: 0.8049 MB / 428.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.2427, allocations: 271.7 kB / 428.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.2429, allocations: 121.5 kB / 428.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.2429, allocations: 8 kB / 428.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.654e-05/0.243, allocations: 42.55 kB / 428.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.243, allocations: 0 / 428.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002822/0.2458, allocations: 1.948 MB / 430.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.2459, allocations: 106.8 kB / 430.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2461, allocations: 198.7 kB / 431 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.2461, allocations: 29.7 kB / 431 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.2462, allocations: 140.9 kB / 431.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.2464, allocations: 174.5 kB / 431.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2465, allocations: 70.14 kB / 431.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2466, allocations: 338.8 kB / 431.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2468, allocations: 92.83 kB / 431.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.247, allocations: 158.3 kB / 432 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.2474, allocations: 278.3 kB / 432.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2474, allocations: 4 kB / 432.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005216/0.248, allocations: 347.7 kB / 432.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.248, allocations: 7.938 kB / 432.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.248, allocations: 0 / 432.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.248, allocations: 4 kB / 432.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.2483, allocations: 99.83 kB / 432.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2484, allocations: 4 kB / 432.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2485, allocations: 8 kB / 432.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.2485, allocations: 12 kB / 432.7 MB, free: 12.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001583/0.2486, allocations: 153.9 kB / 432.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.2487, allocations: 31.75 kB / 432.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.233e-05/0.2488, allocations: 37.86 kB / 433 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2488, allocations: 8 kB / 433 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2488, allocations: 0 / 433 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2488, allocations: 3.984 kB / 433 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.2503, allocations: 1.054 MB / 434 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2503, allocations: 4.281 kB / 434 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.2507, allocations: 91.89 kB / 434.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.2507, allocations: 7.938 kB / 434.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.2507, allocations: 12 kB / 434.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.2507, allocations: 7.938 kB / 434.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2507, allocations: 4 kB / 434.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.2516, allocations: 0.7177 MB / 434.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2517, allocations: 109 kB / 435 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.2517, allocations: 12 kB / 435 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2519, allocations: 15.94 kB / 435 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.252, allocations: 35.83 kB / 435 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.252, allocations: 12.12 kB / 435 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2521, allocations: 144.9 kB / 435.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2521, allocations: 0 / 435.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.2525, allocations: 79.94 kB / 435.3 MB, free: 10.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_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 (45): * Single equations (assignments): 45 * 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.0001365/0.2527, allocations: 115.2 kB / 435.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.2531, allocations: 259.8 kB / 435.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2531, allocations: 0 / 435.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.2533, allocations: 140.1 kB / 435.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.254, allocations: 77.27 kB / 435.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2554, allocations: 0.9038 MB / 436.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.2559, allocations: 0.7721 MB / 437.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.256, allocations: 30.95 kB / 437.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.2561, allocations: 27.44 kB / 437.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2561, allocations: 4 kB / 437.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of Templates: time 0.00734/0.2634, allocations: 3.099 MB / 440.7 MB, free: 4.613 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches