Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 72.06 kB / 21.24 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 155.5 kB / 24.49 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 173.4 MB / 201 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 45.92 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.1001, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003704/0.1038, allocations: 2.263 MB / 373.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005535/0.1043, allocations: 239.1 kB / 374 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1045, allocations: 7.938 kB / 374.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1046, allocations: 39.58 kB / 374.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1048, allocations: 95.2 kB / 374.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.105, allocations: 55.91 kB / 374.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.1053, allocations: 286.7 kB / 374.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1055, allocations: 77.91 kB / 374.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1056, allocations: 103.7 kB / 374.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1058, allocations: 111.4 kB / 374.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.1059, allocations: 20 kB / 374.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.1059, allocations: 24 kB / 374.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.106, allocations: 51.83 kB / 374.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1061, allocations: 111.5 kB / 375 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1064, allocations: 302.6 kB / 375.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1064, allocations: 0 / 375.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1064, allocations: 0 / 375.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1064, allocations: 0 / 375.3 MB, free: 3.59 MB / 334.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.0008206/0.1073, allocations: 481.5 kB / 375.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1073, allocations: 12.92 kB / 375.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.1074, allocations: 32.75 kB / 375.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.1078, allocations: 182.8 kB / 376 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1078, allocations: 12.88 kB / 376 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.1078, allocations: 32.33 kB / 376 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.1082, allocations: 239.2 kB / 376.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1083, allocations: 4.172 kB / 376.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.1083, allocations: 15.88 kB / 376.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1083, allocations: 8 kB / 376.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.1086, allocations: 159.9 kB / 376.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1096, allocations: 0.6642 MB / 377.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.1101, allocations: 279.7 kB / 377.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.1104, allocations: 130.3 kB / 377.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1104, allocations: 4 kB / 377.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1104, allocations: 38.78 kB / 377.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.1104, allocations: 3.938 kB / 377.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002676/0.1131, allocations: 1.511 MB / 379.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.1132, allocations: 110.8 kB / 379.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1134, allocations: 166.5 kB / 379.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1134, allocations: 29.7 kB / 379.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1135, allocations: 144.8 kB / 379.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1136, allocations: 174.5 kB / 379.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1137, allocations: 74.19 kB / 379.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1139, allocations: 334.8 kB / 380.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1141, allocations: 88.97 kB / 380.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.1143, allocations: 155 kB / 380.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.1147, allocations: 285.1 kB / 380.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1147, allocations: 0 / 380.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005354/0.1153, allocations: 337.2 kB / 380.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1153, allocations: 8 kB / 380.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1153, allocations: 0 / 380.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.1153, allocations: 7.938 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1157, allocations: 99.83 kB / 381.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1157, allocations: 4.938 kB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1158, allocations: 12 kB / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1158, allocations: 12 kB / 381.1 MB, free: 13.41 MB / 350.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.0001618/0.116, allocations: 149.7 kB / 381.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.1161, allocations: 35.94 kB / 381.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.154e-05/0.1162, allocations: 37.75 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1162, allocations: 4 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1162, allocations: 4 kB / 381.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.1162, allocations: 3.984 kB / 381.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.1176, allocations: 0.9488 MB / 382.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1176, allocations: 4 kB / 382.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.118, allocations: 91.89 kB / 382.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.118, allocations: 4 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.118, allocations: 8 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.118, allocations: 11.88 kB / 382.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.118, allocations: 4 kB / 382.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.1189, allocations: 0.7179 MB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.1189, allocations: 23.91 kB / 383.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.119, allocations: 20 kB / 383.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.1194, allocations: 8 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.1194, allocations: 39.88 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1194, allocations: 12 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.517e-05/0.1195, allocations: 124.8 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1195, allocations: 0 / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.12, allocations: 72 kB / 383.4 MB, free: 10.97 MB / 350.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.0001263/0.1201, allocations: 115.1 kB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1206, allocations: 259.7 kB / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1206, allocations: 0 / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1208, allocations: 139.6 kB / 383.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.1215, allocations: 69.19 kB / 384 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1229, allocations: 0.9049 MB / 384.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.1231, allocations: 163.6 kB / 385 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1232, allocations: 38.94 kB / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.1233, allocations: 28.5 kB / 385.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1233, allocations: 0 / 385.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Templates: time 0.007281/0.1306, allocations: 2.937 MB / 388 MB, free: 6.289 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.430693602073006]