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/ModelicaServices trunk/package.mo", uses=false) 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) 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(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/ModelicaServices trunk/package.mo): time 0.0009003/0.0009003, allocations: 97.98 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.7 MB / 246.8 MB, free: 9.746 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002118/0.0002119, allocations: 8 kB / 307.7 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09592, allocations: 51.51 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002684/0.09866, allocations: 2.117 MB / 361.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006312/0.09932, allocations: 235.1 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.09955, allocations: 8 kB / 361.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.09972, allocations: 39.69 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.09996, allocations: 63.47 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1002, allocations: 51.94 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.1006, allocations: 282.6 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.1008, allocations: 90.22 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1009, allocations: 91.59 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1011, allocations: 107.5 kB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1011, allocations: 12 kB / 362.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.821e-05/0.1012, allocations: 12 kB / 362.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.1012, allocations: 43.78 kB / 362.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1014, allocations: 141.1 kB / 362.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.1017, allocations: 275.1 kB / 362.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1017, allocations: 0 / 362.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1017, allocations: 0 / 362.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1017, allocations: 3.938 kB / 362.8 MB, free: 9.523 MB / 302.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.0007377/0.1024, allocations: 0.4992 MB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1025, allocations: 8.031 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.1026, allocations: 36.5 kB / 363.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1029, allocations: 240.5 kB / 363.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1029, allocations: 16.94 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.103, allocations: 28.38 kB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.1034, allocations: 247.9 kB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1034, allocations: 4.188 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.1034, allocations: 15.94 kB / 363.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1035, allocations: 4 kB / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.1038, allocations: 155.8 kB / 364 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1049, allocations: 0.8084 MB / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.1054, allocations: 299.7 kB / 365.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.1056, allocations: 130.5 kB / 365.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1057, allocations: 4 kB / 365.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1057, allocations: 34.78 kB / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.896e-06/0.1057, allocations: 4 kB / 365.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002586/0.1083, allocations: 1.95 MB / 367.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.1084, allocations: 115.2 kB / 367.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1085, allocations: 182.6 kB / 367.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1086, allocations: 37.64 kB / 367.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1087, allocations: 136.8 kB / 367.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1088, allocations: 173.5 kB / 367.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.1088, allocations: 41.7 kB / 367.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.109, allocations: 338.8 kB / 368.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1091, allocations: 92.83 kB / 368.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.1093, allocations: 150.3 kB / 368.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.1097, allocations: 280.3 kB / 368.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1097, allocations: 4 kB / 368.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000527/0.1103, allocations: 341.1 kB / 369.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1103, allocations: 10.28 kB / 369.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1103, allocations: 4.094 kB / 369.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1103, allocations: 4 kB / 369.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.1107, allocations: 95.89 kB / 369.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1107, allocations: 7.938 kB / 369.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.1108, allocations: 12 kB / 369.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.1108, allocations: 12 kB / 369.2 MB, free: 2.484 MB / 302.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.0001259/0.111, allocations: 146.9 kB / 369.4 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.1111, allocations: 31.66 kB / 369.4 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.1111, allocations: 37.86 kB / 369.5 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1112, allocations: 12 kB / 369.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1112, allocations: 0 / 369.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1112, allocations: 0 / 369.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1125, allocations: 1.07 MB / 370.5 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.1125, allocations: 4 kB / 370.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.1129, allocations: 79.91 kB / 370.6 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1129, allocations: 7.938 kB / 370.6 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1129, allocations: 16 kB / 370.6 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.113, allocations: 11.92 kB / 370.7 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.113, allocations: 4 kB / 370.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.1137, allocations: 0.7136 MB / 371.4 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1138, allocations: 104.7 kB / 371.5 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.1138, allocations: 20.12 kB / 371.5 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.114, allocations: 12 kB / 371.5 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1141, allocations: 27.91 kB / 371.5 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1141, allocations: 16 kB / 371.6 MB, free: 24 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1653/0.2794, allocations: 140.3 kB / 371.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2795, allocations: 3.844 kB / 371.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005563/0.28, allocations: 76.44 kB / 371.8 MB, free: 18.56 MB / 302.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.0001086/0.2802, allocations: 111.9 kB / 371.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.2806, allocations: 266.2 kB / 372.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2806, allocations: 0 / 372.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.2808, allocations: 148.8 kB / 372.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.2816, allocations: 61.34 kB / 372.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2829, allocations: 1.125 MB / 373.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.2831, allocations: 0.7679 MB / 374.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.2833, allocations: 38.86 kB / 374.3 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.2833, allocations: 27.94 kB / 374.3 MB, free: 17.05 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2834, allocations: 0 / 374.3 MB, free: 17.05 MB / 302.1 MB Notification: Performance of Templates: time 0.006315/0.2897, allocations: 2.801 MB / 377.1 MB, free: 16.88 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches