Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 105.5 kB / 18.35 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 192 kB / 19.29 MB, free: 3.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08756, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003225/0.09082, allocations: 2.4 MB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.09126, allocations: 251.1 kB / 331.4 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.09138, allocations: 4 kB / 331.4 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.09155, allocations: 43.52 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.09169, allocations: 87.2 kB / 331.5 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.09186, allocations: 55.92 kB / 331.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.09213, allocations: 286.7 kB / 331.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.09234, allocations: 97.67 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.09244, allocations: 111.6 kB / 332 MB, free: 428 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.09259, allocations: 111.5 kB / 332.2 MB, free: 316 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.09264, allocations: 24 kB / 332.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.724e-05/0.09268, allocations: 20 kB / 332.2 MB, free: 272 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.09273, allocations: 67.75 kB / 332.3 MB, free: 204 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.09285, allocations: 123.4 kB / 332.4 MB, free: 80 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.09313, allocations: 302.8 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09314, allocations: 0 / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09315, allocations: 0 / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.09316, allocations: 0 / 332.7 MB, free: 15.78 MB / 286.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.0007159/0.09388, allocations: 0.5342 MB / 333.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.09393, allocations: 8.031 kB / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.09399, allocations: 28.66 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.09428, allocations: 248.4 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.0943, allocations: 20.94 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.09435, allocations: 28.36 kB / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.09471, allocations: 240 kB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.09474, allocations: 8.078 kB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.09477, allocations: 15.94 kB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.09478, allocations: 11.94 kB / 333.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.09505, allocations: 155.9 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.09604, allocations: 0.793 MB / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.09654, allocations: 291.7 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.09679, allocations: 138.7 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.09682, allocations: 7.938 kB / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.09686, allocations: 38.56 kB / 335.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.482e-06/0.09687, allocations: 0 / 335.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002427/0.0993, allocations: 1.938 MB / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.09937, allocations: 114.8 kB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.09953, allocations: 187.8 kB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.09957, allocations: 33.7 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.09965, allocations: 144.6 kB / 337.6 MB, free: 10.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.09975, allocations: 157.7 kB / 337.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.09985, allocations: 70.14 kB / 337.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.09996, allocations: 338.8 kB / 338.2 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1001, allocations: 92.84 kB / 338.3 MB, free: 9.645 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1003, allocations: 158.3 kB / 338.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.1006, allocations: 282.2 kB / 338.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1007, allocations: 0 / 338.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004575/0.1011, allocations: 340.9 kB / 339 MB, free: 8.832 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1011, allocations: 15.92 kB / 339 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1012, allocations: 0 / 339 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1012, allocations: 4 kB / 339.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.1015, allocations: 95.84 kB / 339.1 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1015, allocations: 4.938 kB / 339.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1016, allocations: 4.094 kB / 339.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1017, allocations: 20 kB / 339.2 MB, free: 8.691 MB / 286.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.0001266/0.1018, allocations: 153.7 kB / 339.3 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.1019, allocations: 31.66 kB / 339.4 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.102, allocations: 33.88 kB / 339.4 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.102, allocations: 8 kB / 339.4 MB, free: 8.461 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.102, allocations: 4 kB / 339.4 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.102, allocations: 3.984 kB / 339.4 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.1033, allocations: 1.054 MB / 340.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1033, allocations: 0 / 340.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.1037, allocations: 91.89 kB / 340.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.1037, allocations: 7.938 kB / 340.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1037, allocations: 8 kB / 340.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1037, allocations: 11.94 kB / 340.6 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1037, allocations: 0 / 340.6 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.1044, allocations: 0.725 MB / 341.3 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.1045, allocations: 104.8 kB / 341.4 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1045, allocations: 12 kB / 341.4 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1047, allocations: 15.98 kB / 341.4 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.1048, allocations: 31.84 kB / 341.5 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1048, allocations: 12 kB / 341.5 MB, free: 6.234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.603e-05/0.1049, allocations: 147.3 kB / 341.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1049, allocations: 0 / 341.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.1054, allocations: 72 kB / 341.7 MB, free: 6.02 MB / 286.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.0001081/0.1055, allocations: 103.2 kB / 341.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.1059, allocations: 282.6 kB / 342.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1059, allocations: 3.938 kB / 342.1 MB, free: 5.633 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.1061, allocations: 144 kB / 342.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.1068, allocations: 65.62 kB / 342.3 MB, free: 5.43 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1082, allocations: 0.9062 MB / 343.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1085, allocations: 0.7796 MB / 344 MB, free: 3.656 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1086, allocations: 38.94 kB / 344 MB, free: 3.621 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.1087, allocations: 31.44 kB / 344 MB, free: 3.59 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1087, allocations: 0 / 344 MB, free: 3.59 MB / 286.1 MB Notification: Performance of Templates: time 0.005953/0.1147, allocations: 2.97 MB / 347 MB, free: 0.6211 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches