Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8623/0.8623, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251 MB, free: 3.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.267e-05, allocations: 2.312 kB / 251 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002206/0.002228, allocations: 2.111 MB / 253.1 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003091/0.002538, allocations: 163.3 kB / 253.3 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.002623, allocations: 4 kB / 253.3 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.002754, allocations: 31.72 kB / 253.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.002822, allocations: 47.52 kB / 253.4 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.002958, allocations: 43.86 kB / 253.4 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.003123, allocations: 187.1 kB / 253.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.003242, allocations: 38.48 kB / 253.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.003327, allocations: 103.8 kB / 253.7 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.003414, allocations: 51.88 kB / 253.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.003441, allocations: 16 kB / 253.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.00346, allocations: 12 kB / 253.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.003491, allocations: 39.83 kB / 253.9 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.003537, allocations: 55.84 kB / 253.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.003686, allocations: 119.5 kB / 254 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003688, allocations: 0 / 254 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003689, allocations: 0 / 254 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003693, allocations: 7.938 kB / 254 MB, free: 0.6758 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004446/0.004138, allocations: 491.8 kB / 254.5 MB, free: 164 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.004173, allocations: 11.98 kB / 254.5 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.004227, allocations: 40.8 kB / 254.6 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.0044, allocations: 156 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.004413, allocations: 12.38 kB / 254.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.004444, allocations: 24.33 kB / 254.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.00463, allocations: 172.3 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.004642, allocations: 4.188 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.004656, allocations: 4.375 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.004666, allocations: 12.12 kB / 254.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.004758, allocations: 70.75 kB / 255 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.00552, allocations: 1.075 MB / 256.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.005617, allocations: 121.3 kB / 256.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.005653, allocations: 35.06 kB / 256.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.005662, allocations: 8.078 kB / 256.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.005682, allocations: 37.39 kB / 256.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/0.005684, allocations: 4 kB / 256.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002003/0.005885, allocations: 109.4 kB / 256.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.005925, allocations: 106.8 kB / 256.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.00605, allocations: 221.7 kB / 256.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.006063, allocations: 29.7 kB / 256.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.006145, allocations: 194.9 kB / 256.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.006179, allocations: 59.5 kB / 257 MB, free: 13.44 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.006223, allocations: 43.61 kB / 257 MB, free: 13.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.006352, allocations: 0.4962 MB / 257.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.006389, allocations: 28.44 kB / 257.6 MB, free: 12.85 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.006493, allocations: 171.8 kB / 257.7 MB, free: 12.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.006648, allocations: 219.3 kB / 257.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.006651, allocations: 0 / 257.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00019/0.006841, allocations: 197.2 kB / 258.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.006858, allocations: 8 kB / 258.1 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.006865, allocations: 8.406 kB / 258.2 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.00688, allocations: 8 kB / 258.2 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.00698, allocations: 51.91 kB / 258.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.006987, allocations: 4 kB / 258.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.007043, allocations: 27.78 kB / 258.2 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.007053, allocations: 12 kB / 258.3 MB, free: 12.02 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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 7.266e-05/0.007126, allocations: 172.4 kB / 258.4 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.007165, allocations: 23.91 kB / 258.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.007199, allocations: 24.27 kB / 258.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.0072, allocations: 0 / 258.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007205, allocations: 4 kB / 258.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.007208, allocations: 4 kB / 258.5 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.007428, allocations: 172.5 kB / 258.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.00743, allocations: 4 kB / 258.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.007512, allocations: 27.98 kB / 258.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.007513, allocations: 0 / 258.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.00753, allocations: 4 kB / 258.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.007532, allocations: 4 kB / 258.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007533, allocations: 0 / 258.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.00779, allocations: 0.5058 MB / 259.2 MB, free: 11.01 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.007808, allocations: 11.91 kB / 259.2 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.007824, allocations: 8 kB / 259.2 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.007898, allocations: 4 kB / 259.2 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.007919, allocations: 7.984 kB / 259.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.007924, allocations: 4 kB / 259.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.007984, allocations: 155.2 kB / 259.4 MB, free: 10.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007984, allocations: 0 / 259.4 MB, free: 10.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.008215, allocations: 43.89 kB / 259.4 MB, free: 10.78 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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 (12): * Single equations (assignments): 12 * 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.167e-05/0.008297, allocations: 99.19 kB / 259.5 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.008454, allocations: 99.56 kB / 259.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.008456, allocations: 0 / 259.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.008488, allocations: 39.61 kB / 259.7 MB, free: 10.53 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.008817, allocations: 39.59 kB / 259.7 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.009398, allocations: 0.4947 MB / 260.2 MB, free: 9.961 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.195e-05/0.00945, allocations: 71.98 kB / 260.3 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.168e-05/0.009492, allocations: 17.48 kB / 260.3 MB, free: 9.855 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.009522, allocations: 16.5 kB / 260.3 MB, free: 9.84 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009523, allocations: 0 / 260.3 MB, free: 9.84 MB / 250.7 MB Notification: Performance of Templates: time 0.002825/0.01235, allocations: 1.239 MB / 261.5 MB, free: 8.609 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.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.473918037954718]