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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009645/0.0009645, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009294/0.0009294, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9832/0.9832, allocations: 177 MB / 204.8 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 272.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.094e-05, allocations: 2.312 kB / 272.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002911/0.002932, allocations: 2.435 MB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004725/0.003405, allocations: 243.1 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.003501, allocations: 7.938 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.003639, allocations: 47.58 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.003771, allocations: 87.2 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.003937, allocations: 59.86 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.004156, allocations: 298.4 kB / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.004307, allocations: 70.59 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.00445, allocations: 171.6 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.004573, allocations: 83.77 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.004606, allocations: 24 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.892e-05/0.004635, allocations: 24 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.004673, allocations: 63.75 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.004738, allocations: 83.83 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.004935, allocations: 199.2 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004937, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004938, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.004942, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.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.0005377/0.00548, allocations: 0.5702 MB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.005517, allocations: 11.98 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.005587, allocations: 52.75 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.005791, allocations: 188.8 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.005811, allocations: 20.88 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.005847, allocations: 24.38 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.006089, allocations: 207.6 kB / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.006102, allocations: 192 / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.006121, allocations: 12.38 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.00613, allocations: 4.375 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.006278, allocations: 115.8 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.00694, allocations: 0.7861 MB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.007268, allocations: 249.2 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.007443, allocations: 95.02 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.007458, allocations: 11.94 kB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.007482, allocations: 41.33 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.007484, allocations: 4 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001505/0.008988, allocations: 1.406 MB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.009032, allocations: 106.8 kB / 280.6 MB, free: 9.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.009147, allocations: 233.7 kB / 280.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.009165, allocations: 33.7 kB / 280.9 MB, free: 8.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.009237, allocations: 191.5 kB / 281.1 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.009319, allocations: 162.6 kB / 281.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.009394, allocations: 83.8 kB / 281.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.009514, allocations: 0.5079 MB / 281.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.009589, allocations: 48.97 kB / 281.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.009701, allocations: 142.7 kB / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.009913, allocations: 228.2 kB / 282.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.009916, allocations: 4 kB / 282.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002847/0.0102, allocations: 289.2 kB / 282.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01021, allocations: 8 kB / 282.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01022, allocations: 0 / 282.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01023, allocations: 4 kB / 282.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.01042, allocations: 91.89 kB / 282.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01043, allocations: 7.938 kB / 282.6 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.01048, allocations: 8 kB / 282.7 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.0105, allocations: 16 kB / 282.7 MB, free: 7.023 MB / 266.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 () * 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 8.619e-05/0.01058, allocations: 188.5 kB / 282.9 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.01064, allocations: 43.81 kB / 282.9 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.01068, allocations: 37.8 kB / 282.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01069, allocations: 4 kB / 282.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01069, allocations: 0 / 282.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.0107, allocations: 7.938 kB / 282.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.01149, allocations: 1.039 MB / 284 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01149, allocations: 0 / 284 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.01168, allocations: 87.91 kB / 284.1 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01169, allocations: 4 kB / 284.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.0117, allocations: 8 kB / 284.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.01171, allocations: 7.984 kB / 284.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01171, allocations: 7.938 kB / 284.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.01219, allocations: 0.7978 MB / 284.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.01222, allocations: 23.86 kB / 284.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.01224, allocations: 15.98 kB / 284.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01235, allocations: 8 kB / 284.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.01238, allocations: 31.89 kB / 285 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.0124, allocations: 19.94 kB / 285 MB, free: 4.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.01245, allocations: 160.2 kB / 285.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01245, allocations: 0 / 285.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.01272, allocations: 72 kB / 285.2 MB, free: 4.312 MB / 266.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,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 8.497e-05/0.01281, allocations: 115.1 kB / 285.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.01307, allocations: 216.6 kB / 285.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01307, allocations: 3.938 kB / 285.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01318, allocations: 119.4 kB / 285.7 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.01359, allocations: 89.34 kB / 285.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.01437, allocations: 0.7843 MB / 286.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.01443, allocations: 93.3 kB / 286.6 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.407e-05/0.0145, allocations: 38.94 kB / 286.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.01456, allocations: 28.5 kB / 286.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01456, allocations: 0 / 286.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of Templates: time 0.09329/0.1078, allocations: 3.097 MB / 289.8 MB, free: 26.33 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.635411815252155]