Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008476/0.0008476, allocations: 99 kB / 286.7 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.703e-05, allocations: 0 / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 51.48 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.6016, allocations: 77.44 MB / 472.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.6019, allocations: 63.75 kB / 472.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.613, allocations: 4.238 MB / 476.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6131, allocations: 0 / 476.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.6131, allocations: 4 kB / 476.9 MB, free: 11.7 MB / 346.7 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.0007666/0.6139, allocations: 485 kB / 477.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.614, allocations: 8.031 kB / 477.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.6141, allocations: 32.84 kB / 477.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.6144, allocations: 234.4 kB / 477.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6144, allocations: 8 kB / 477.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.6145, allocations: 12 kB / 477.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003231/0.6148, allocations: 147 kB / 477.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.6152, allocations: 197.1 kB / 478 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.6152, allocations: 10.16 kB / 478 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.6152, allocations: 0 / 478 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.6152, allocations: 4 kB / 478 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.6164, allocations: 0.7449 MB / 478.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.6168, allocations: 272.7 kB / 479 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.6171, allocations: 121.1 kB / 479.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.6171, allocations: 8 kB / 479.2 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.6171, allocations: 39.28 kB / 479.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.6171, allocations: 0 / 479.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002036/0.6192, allocations: 1.735 MB / 480.9 MB, free: 8.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.6192, allocations: 108 kB / 481 MB, free: 7.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.6194, allocations: 141.7 kB / 481.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.6194, allocations: 27.48 kB / 481.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.6195, allocations: 150.4 kB / 481.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.6196, allocations: 156.7 kB / 481.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.6196, allocations: 0 / 481.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.6197, allocations: 333.2 kB / 481.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.6198, allocations: 75.38 kB / 481.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.62, allocations: 140.6 kB / 482 MB, free: 7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.6202, allocations: 103.1 kB / 482.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6202, allocations: 0 / 482.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004238/0.6206, allocations: 299.9 kB / 482.4 MB, free: 6.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6207, allocations: 8 kB / 482.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6207, allocations: 0 / 482.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.6207, allocations: 4 kB / 482.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.621, allocations: 93.62 kB / 482.5 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.621, allocations: 4 kB / 482.5 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6211, allocations: 7.938 kB / 482.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.6212, allocations: 16.45 kB / 482.6 MB, free: 6.617 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.6213, allocations: 108.9 kB / 482.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.6213, allocations: 27.67 kB / 482.7 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.6214, allocations: 32.47 kB / 482.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.6214, allocations: 11.98 kB / 482.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6215, allocations: 0 / 482.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6215, allocations: 6.109 kB / 482.7 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.6226, allocations: 0.9693 MB / 483.7 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.6226, allocations: 4 kB / 483.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.623, allocations: 94.47 kB / 483.8 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-06/0.623, allocations: 5.688 kB / 483.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.623, allocations: 4 kB / 483.8 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.623, allocations: 11.89 kB / 483.8 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.623, allocations: 4 kB / 483.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.6237, allocations: 0.8002 MB / 484.6 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.6238, allocations: 102.2 kB / 484.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.6238, allocations: 5.312 kB / 484.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.624, allocations: 5.75 kB / 484.7 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.624, allocations: 37.33 kB / 484.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.6241, allocations: 11 kB / 484.8 MB, free: 4.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.664e-05/0.6242, allocations: 121.9 kB / 484.9 MB, free: 4.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6242, allocations: 0 / 484.9 MB, free: 4.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.6246, allocations: 60 kB / 485 MB, free: 4.457 MB / 346.7 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,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.6248, allocations: 102.2 kB / 485.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.6251, allocations: 230.4 kB / 485.3 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6251, allocations: 1.594 kB / 485.3 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.6253, allocations: 127.9 kB / 485.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.6258, allocations: 53.62 kB / 485.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.6269, allocations: 0.7656 MB / 486.2 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.6271, allocations: 0.7742 MB / 487 MB, free: 2.504 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.6273, allocations: 39.27 kB / 487.1 MB, free: 2.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.6273, allocations: 27.44 kB / 487.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6273, allocations: 0 / 487.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of Templates: time 0.005478/0.6328, allocations: 2.512 MB / 489.6 MB, free: 8 kB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches