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.0009613/0.0009613, allocations: 85.95 kB / 23 MB, free: 1.504 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.001382/0.001382, allocations: 172.1 kB / 26.39 MB, free: 8 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.8772/0.8772, allocations: 158.6 MB / 188.3 MB, free: 2.805 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 3.276e-06/3.276e-06, allocations: 4 kB / 252.2 MB, free: 7.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.752e-05, allocations: 6.25 kB / 252.2 MB, free: 7.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002382/0.0024, allocations: 2.077 MB / 254.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003801/0.00278, allocations: 163.4 kB / 254.5 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.00288, allocations: 4 kB / 254.5 MB, free: 5.102 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.003014, allocations: 31.72 kB / 254.5 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.026e-05/0.003105, allocations: 55.44 kB / 254.6 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.003267, allocations: 43.94 kB / 254.6 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.003472, allocations: 183.1 kB / 254.8 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.003622, allocations: 50.41 kB / 254.8 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003739, allocations: 99.78 kB / 254.9 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.003844, allocations: 51.81 kB / 255 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.003873, allocations: 12 kB / 255 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.003891, allocations: 12 kB / 255 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.003926, allocations: 39.89 kB / 255 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.003981, allocations: 55.84 kB / 255.1 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.00415, allocations: 119.5 kB / 255.2 MB, free: 4.359 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004152, allocations: 0 / 255.2 MB, free: 4.359 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004153, allocations: 4 kB / 255.2 MB, free: 4.355 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.004158, allocations: 0 / 255.2 MB, free: 4.355 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.0004576/0.004616, allocations: 491.8 kB / 255.7 MB, free: 3.84 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.004655, allocations: 11.98 kB / 255.7 MB, free: 3.828 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.004703, allocations: 36.8 kB / 255.8 MB, free: 3.793 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.004874, allocations: 164.3 kB / 255.9 MB, free: 3.605 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.004887, allocations: 12.38 kB / 255.9 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.004917, allocations: 24.31 kB / 255.9 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.0051, allocations: 176.1 kB / 256.1 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.005115, allocations: 8.172 kB / 256.1 MB, free: 3.363 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.005128, allocations: 4.375 kB / 256.1 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.005137, allocations: 8.125 kB / 256.1 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.005217, allocations: 63.5 kB / 256.2 MB, free: 3.293 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.005996, allocations: 1.036 MB / 257.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.006102, allocations: 117.2 kB / 257.4 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.006137, allocations: 39.14 kB / 257.4 MB, free: 1.984 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.006146, allocations: 4 kB / 257.4 MB, free: 1.98 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.006176, allocations: 37.39 kB / 257.4 MB, free: 1.934 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.006177, allocations: 0 / 257.4 MB, free: 1.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.000204/0.006381, allocations: 105.4 kB / 257.5 MB, free: 1.824 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.006429, allocations: 106.8 kB / 257.6 MB, free: 1.695 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.006546, allocations: 225.6 kB / 257.9 MB, free: 1.453 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006558, allocations: 25.7 kB / 257.9 MB, free: 1.422 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.006641, allocations: 198.8 kB / 258.1 MB, free: 1.223 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.006681, allocations: 59.5 kB / 258.1 MB, free: 1.164 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.006733, allocations: 47.59 kB / 258.2 MB, free: 1.109 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.006872, allocations: 0.5001 MB / 258.7 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.006896, allocations: 16.45 kB / 258.7 MB, free: 0.582 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.007, allocations: 171.8 kB / 258.9 MB, free: 356 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.007153, allocations: 211.3 kB / 259.1 MB, free: 76 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007155, allocations: 0 / 259.1 MB, free: 76 kB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000202/0.007357, allocations: 189.2 kB / 259.3 MB, free: 15.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.007372, allocations: 4 kB / 259.3 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.007379, allocations: 4 kB / 259.3 MB, free: 15.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.007398, allocations: 8 kB / 259.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.007493, allocations: 43.92 kB / 259.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.007501, allocations: 7.984 kB / 259.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.007562, allocations: 24.25 kB / 259.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.007572, allocations: 12 kB / 259.4 MB, free: 15.78 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 9.51e-05/0.007667, allocations: 176.5 kB / 259.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.007722, allocations: 23.78 kB / 259.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.007768, allocations: 16.34 kB / 259.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.007773, allocations: 3.984 kB / 259.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.00778, allocations: 4 kB / 259.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.007784, allocations: 0 / 259.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.008032, allocations: 145.2 kB / 259.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.008034, allocations: 4 kB / 259.7 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.008114, allocations: 27.98 kB / 259.8 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.008116, allocations: 7.938 kB / 259.8 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.008133, allocations: 7.984 kB / 259.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008134, allocations: 0 / 259.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008135, allocations: 0 / 259.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.008389, allocations: 0.4901 MB / 260.3 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.008406, allocations: 19.89 kB / 260.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.008422, allocations: 8 kB / 260.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.008495, allocations: 4 kB / 260.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.008512, allocations: 7.984 kB / 260.3 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.008517, allocations: 8 kB / 260.3 MB, free: 14.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.008576, allocations: 151.1 kB / 260.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008576, allocations: 0 / 260.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.00882, allocations: 47.89 kB / 260.5 MB, free: 14.58 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 7.688e-05/0.008897, allocations: 99.19 kB / 260.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.009021, allocations: 83.69 kB / 260.7 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009023, allocations: 0.8125 kB / 260.7 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.009054, allocations: 47.94 kB / 260.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.009368, allocations: 23.98 kB / 260.7 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.009935, allocations: 0.4978 MB / 261.2 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.009983, allocations: 75.98 kB / 261.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.321e-05/0.01003, allocations: 17.48 kB / 261.3 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.0101, allocations: 90.19 kB / 261.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0101, allocations: 0 / 261.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of Templates: time 0.00288/0.01298, allocations: 1.319 MB / 262.7 MB, free: 12.27 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.7190284742973745]