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.0009612/0.0009612, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001064/0.001064, allocations: 167.8 kB / 25.7 MB, free: 8.43 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.8952/0.8952, allocations: 158.6 MB / 187.6 MB, free: 2.801 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 2.194e-06/2.194e-06, allocations: 4 kB / 251.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.974e-05, allocations: 2.312 kB / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002608/0.002627, allocations: 2.093 MB / 253.6 MB, free: 5.188 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.003012, allocations: 171.2 kB / 253.8 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.003097, allocations: 4 kB / 253.8 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003225, allocations: 27.66 kB / 253.8 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.003306, allocations: 59.5 kB / 253.9 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.003474, allocations: 35.94 kB / 253.9 MB, free: 4.895 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.003647, allocations: 191.1 kB / 254.1 MB, free: 4.707 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003756, allocations: 39.14 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.00385, allocations: 99.78 kB / 254.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.00395, allocations: 63.78 kB / 254.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.003975, allocations: 12 kB / 254.3 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.003992, allocations: 12 kB / 254.3 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.00402, allocations: 31.91 kB / 254.3 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.004066, allocations: 55.84 kB / 254.4 MB, free: 4.398 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.004219, allocations: 123.5 kB / 254.5 MB, free: 4.277 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004222, allocations: 0 / 254.5 MB, free: 4.277 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004222, allocations: 3.938 kB / 254.5 MB, free: 4.273 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004227, allocations: 4 kB / 254.5 MB, free: 4.27 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.0003686/0.004595, allocations: 360.2 kB / 254.9 MB, free: 3.895 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.004631, allocations: 15.98 kB / 254.9 MB, free: 3.879 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.004672, allocations: 32.91 kB / 254.9 MB, free: 3.848 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.004824, allocations: 149.5 kB / 255.1 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.004837, allocations: 16.38 kB / 255.1 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.004866, allocations: 20.38 kB / 255.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.005294, allocations: 157.9 kB / 255.3 MB, free: 3.465 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.005305, allocations: 192 / 255.3 MB, free: 3.465 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.005315, allocations: 8.375 kB / 255.3 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.005322, allocations: 8.125 kB / 255.3 MB, free: 3.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.005386, allocations: 58.77 kB / 255.3 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006471/0.006033, allocations: 0.7558 MB / 256.1 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.006111, allocations: 79.75 kB / 256.2 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.006139, allocations: 34.69 kB / 256.2 MB, free: 2.438 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.006147, allocations: 4 kB / 256.2 MB, free: 2.434 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.006167, allocations: 34.56 kB / 256.2 MB, free: 2.391 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.006169, allocations: 0 / 256.2 MB, free: 2.391 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001523/0.006321, allocations: 90.09 kB / 256.3 MB, free: 2.297 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.006361, allocations: 102.8 kB / 256.4 MB, free: 2.172 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.006463, allocations: 170.4 kB / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.006476, allocations: 33.7 kB / 256.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.006534, allocations: 144.1 kB / 256.8 MB, free: 1.809 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.006561, allocations: 51.56 kB / 256.8 MB, free: 1.758 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.006601, allocations: 45.92 kB / 256.9 MB, free: 1.707 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.006677, allocations: 330.8 kB / 257.2 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.006696, allocations: 16.47 kB / 257.2 MB, free: 1.359 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.006765, allocations: 126.5 kB / 257.3 MB, free: 1.188 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.006875, allocations: 165.5 kB / 257.5 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006878, allocations: 0 / 257.5 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001384/0.007016, allocations: 165.2 kB / 257.6 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.007028, allocations: 4 kB / 257.6 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007034, allocations: 4 kB / 257.6 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.007047, allocations: 4 kB / 257.7 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.007133, allocations: 47.92 kB / 257.7 MB, free: 0.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.007139, allocations: 8.391 kB / 257.7 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.007195, allocations: 27.78 kB / 257.7 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.007203, allocations: 12 kB / 257.7 MB, free: 0.7031 MB / 234.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 6.272e-05/0.007266, allocations: 133.7 kB / 257.9 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.007301, allocations: 15.92 kB / 257.9 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.00733, allocations: 16.34 kB / 257.9 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007332, allocations: 0 / 257.9 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007334, allocations: 0 / 257.9 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.007339, allocations: 4 kB / 257.9 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.007545, allocations: 117.8 kB / 258 MB, free: 400 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007547, allocations: 0 / 258 MB, free: 400 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.007625, allocations: 27.98 kB / 258.1 MB, free: 372 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.007626, allocations: 4 kB / 258.1 MB, free: 368 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.007638, allocations: 11.94 kB / 258.1 MB, free: 356 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00764, allocations: 0 / 258.1 MB, free: 356 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00764, allocations: 0 / 258.1 MB, free: 356 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.007823, allocations: 353.9 kB / 258.4 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.007837, allocations: 12.11 kB / 258.4 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.007855, allocations: 19.91 kB / 258.4 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.007927, allocations: 3.938 kB / 258.4 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.007941, allocations: 7.984 kB / 258.5 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.007945, allocations: 4 kB / 258.5 MB, free: 15.94 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.801e-05/0.007973, allocations: 36.83 kB / 258.5 MB, free: 15.9 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.007973, allocations: 0 / 258.5 MB, free: 15.9 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.008191, allocations: 43.94 kB / 258.5 MB, free: 15.86 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 6.691e-05/0.008257, allocations: 84.34 kB / 258.6 MB, free: 15.76 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.008365, allocations: 85.38 kB / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.008369, allocations: 0 / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.008394, allocations: 36.84 kB / 258.7 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.008651, allocations: 19.98 kB / 258.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.009082, allocations: 402.9 kB / 259.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.009126, allocations: 71.98 kB / 259.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.253e-05/0.009169, allocations: 21.47 kB / 259.2 MB, free: 15.08 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.00923, allocations: 71.36 kB / 259.3 MB, free: 15.01 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.009231, allocations: 0 / 259.3 MB, free: 15.01 MB / 250.7 MB Notification: Performance of Templates: time 0.002744/0.01198, allocations: 1.302 MB / 260.6 MB, free: 13.73 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.5096198017708957]