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.001464/0.001464, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.001386/0.001386, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.459/1.459, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] 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.00152/0.00152, allocations: 43.92 kB / 366.8 MB, free: 432 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 52.14 MB / 418.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003941/0.1116, allocations: 2.435 MB / 421.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000562/0.1122, allocations: 239.1 kB / 421.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1123, allocations: 7.938 kB / 421.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.1125, allocations: 47.58 kB / 421.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1127, allocations: 83.27 kB / 421.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1128, allocations: 55.91 kB / 421.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1132, allocations: 294.6 kB / 422.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1134, allocations: 73.7 kB / 422.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1135, allocations: 111.6 kB / 422.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1137, allocations: 123.4 kB / 422.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.1137, allocations: 20 kB / 422.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.1138, allocations: 24 kB / 422.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.1138, allocations: 51.84 kB / 422.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.114, allocations: 131.3 kB / 422.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.1144, allocations: 294.8 kB / 422.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1144, allocations: 0 / 422.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1144, allocations: 0 / 422.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1144, allocations: 0 / 422.9 MB, free: 8.207 MB / 350.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.0008507/0.1152, allocations: 0.5572 MB / 423.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1153, allocations: 8.031 kB / 423.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.1153, allocations: 32.75 kB / 423.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1157, allocations: 241.4 kB / 423.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1157, allocations: 20.94 kB / 423.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.1158, allocations: 32.33 kB / 423.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.1162, allocations: 244 kB / 424 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1162, allocations: 192 / 424 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1162, allocations: 15.94 kB / 424 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.1162, allocations: 4 kB / 424 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1165, allocations: 159.8 kB / 424.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1177, allocations: 0.7972 MB / 425 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.1183, allocations: 279.7 kB / 425.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1185, allocations: 118.5 kB / 425.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1185, allocations: 4 kB / 425.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.1186, allocations: 46.48 kB / 425.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.1186, allocations: 0 / 425.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.00302/0.1216, allocations: 1.957 MB / 427.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.1217, allocations: 106.8 kB / 427.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1219, allocations: 187.2 kB / 427.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1219, allocations: 33.7 kB / 427.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1221, allocations: 140.9 kB / 427.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.1222, allocations: 174.5 kB / 428 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1223, allocations: 70.14 kB / 428.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1225, allocations: 339.8 kB / 428.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1226, allocations: 92.83 kB / 428.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.1229, allocations: 162.3 kB / 428.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.1233, allocations: 274.5 kB / 428.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1233, allocations: 0 / 428.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005338/0.1238, allocations: 339.5 kB / 429.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1238, allocations: 11.94 kB / 429.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1238, allocations: 0 / 429.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1238, allocations: 7.938 kB / 429.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.1242, allocations: 91.98 kB / 429.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1242, allocations: 7.938 kB / 429.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1243, allocations: 12 kB / 429.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1243, allocations: 16 kB / 429.4 MB, free: 1.121 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.0001643/0.1245, allocations: 157.6 kB / 429.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.1246, allocations: 35.75 kB / 429.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.1247, allocations: 37.86 kB / 429.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1247, allocations: 4 kB / 429.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1247, allocations: 4 kB / 429.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1247, allocations: 7.984 kB / 429.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.1262, allocations: 1.043 MB / 430.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1262, allocations: 4 kB / 430.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.1266, allocations: 95.83 kB / 430.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.1266, allocations: 7.938 kB / 430.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.1267, allocations: 8 kB / 430.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.1267, allocations: 4 kB / 430.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1267, allocations: 4 kB / 430.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.1275, allocations: 0.7313 MB / 431.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.1276, allocations: 112.9 kB / 431.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.1276, allocations: 11.94 kB / 431.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.1279, allocations: 15.94 kB / 431.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.1279, allocations: 39.89 kB / 431.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1279, allocations: 16.12 kB / 431.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1281, allocations: 140.5 kB / 431.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1281, allocations: 0 / 431.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.1285, allocations: 72 kB / 431.9 MB, free: 14.42 MB / 366.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.0001514/0.1287, allocations: 107.1 kB / 432.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.1291, allocations: 256.4 kB / 432.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1291, allocations: 0 / 432.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1293, allocations: 135.7 kB / 432.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.1301, allocations: 72.53 kB / 432.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1316, allocations: 0.9489 MB / 433.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.1321, allocations: 0.7683 MB / 434.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.1321, allocations: 31.44 kB / 434.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1321, allocations: 0 / 434.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006107/0.1382, allocations: 3.487 MB / 437.7 MB, free: 8.543 MB / 366.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.149671757826582]