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.001132/0.001132, allocations: 113.3 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.1 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 64.11 kB / 307.1 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.104, allocations: 50.54 MB / 357.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003745/0.1078, allocations: 2.482 MB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006464/0.1085, allocations: 243 kB / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.1088, allocations: 4 kB / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.109, allocations: 35.7 kB / 360.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1092, allocations: 67.47 kB / 360.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1094, allocations: 43.95 kB / 360.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.1098, allocations: 302.6 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.11, allocations: 97.67 kB / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1101, allocations: 107.6 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1103, allocations: 119.5 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.1104, allocations: 24 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.1104, allocations: 24 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.1105, allocations: 51.78 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1106, allocations: 131.4 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1108, allocations: 223.6 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1109, allocations: 0 / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1109, allocations: 7.938 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1109, allocations: 0 / 361.6 MB, free: 10.49 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.0008259/0.1117, allocations: 0.5265 MB / 362.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1118, allocations: 12.03 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.1118, allocations: 28.56 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1121, allocations: 244.5 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1121, allocations: 16.94 kB / 362.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.1122, allocations: 32.27 kB / 362.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.1126, allocations: 240 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.1126, allocations: 8.172 kB / 362.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.1127, allocations: 15.92 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1127, allocations: 8 kB / 362.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.113, allocations: 155.8 kB / 362.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.114, allocations: 0.8006 MB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.1145, allocations: 303.6 kB / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.1147, allocations: 130.5 kB / 364.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1147, allocations: 4 kB / 364.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1148, allocations: 34.56 kB / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.1148, allocations: 4 kB / 364.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002591/0.1174, allocations: 1.946 MB / 366.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.1175, allocations: 110.8 kB / 366.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1177, allocations: 190.5 kB / 366.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1177, allocations: 33.7 kB / 366.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.1178, allocations: 136.8 kB / 366.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1179, allocations: 166.5 kB / 366.7 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.118, allocations: 70.14 kB / 366.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1181, allocations: 338.8 kB / 367.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1183, allocations: 88.84 kB / 367.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1185, allocations: 162.3 kB / 367.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.1188, allocations: 271 kB / 367.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1188, allocations: 0 / 367.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004706/0.1193, allocations: 341.9 kB / 367.9 MB, free: 3.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1193, allocations: 15.94 kB / 367.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1193, allocations: 0 / 367.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1194, allocations: 11.92 kB / 367.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.1197, allocations: 95.84 kB / 368 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1197, allocations: 4 kB / 368 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1198, allocations: 4 kB / 368.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1199, allocations: 16 kB / 368.1 MB, free: 3.41 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.0001378/0.12, allocations: 145.8 kB / 368.2 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.1201, allocations: 39.64 kB / 368.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.848e-05/0.1202, allocations: 33.88 kB / 368.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1202, allocations: 4 kB / 368.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.1202, allocations: 4 kB / 368.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1202, allocations: 3.984 kB / 368.3 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.1216, allocations: 1.066 MB / 369.4 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1216, allocations: 4 kB / 369.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.122, allocations: 87.89 kB / 369.4 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.122, allocations: 11.94 kB / 369.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.122, allocations: 8 kB / 369.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.122, allocations: 7.938 kB / 369.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.122, allocations: 4 kB / 369.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.1228, allocations: 0.7214 MB / 370.2 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.1228, allocations: 104.9 kB / 370.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.1229, allocations: 11.94 kB / 370.3 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.1231, allocations: 12 kB / 370.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1232, allocations: 39.92 kB / 370.4 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1232, allocations: 16 kB / 370.4 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1233, allocations: 140.9 kB / 370.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1233, allocations: 0 / 370.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.1237, allocations: 75.94 kB / 370.6 MB, free: 0.7305 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.0001331/0.1239, allocations: 115.1 kB / 370.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.1244, allocations: 283.7 kB / 371 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1244, allocations: 4.188 kB / 371 MB, free: 336 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.1246, allocations: 147.8 kB / 371.1 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.1254, allocations: 73.89 kB / 371.2 MB, free: 120 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1458/0.2712, allocations: 1.045 MB / 372.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2714, allocations: 0.7674 MB / 373 MB, free: 19.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.2716, allocations: 30.38 kB / 373 MB, free: 19.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.573e-06/0.2716, allocations: 0 / 373 MB, free: 19.02 MB / 302.1 MB Notification: Performance of Templates: time 0.006395/0.278, allocations: 3.446 MB / 376.5 MB, free: 18.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches