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.001696/0.001696, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001647/0.001647, allocations: 169.6 kB / 25.03 MB, free: 8.422 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 1.393/1.393, allocations: 158.6 MB / 186.8 MB, free: 2.852 MB / 170.7 MB " [Timeout remaining time 178] 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.793e-06/1.793e-06, allocations: 0 / 250.3 MB, free: 4.043 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.16e-05, allocations: 6.312 kB / 250.4 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003724/0.003756, allocations: 2.006 MB / 252.4 MB, free: 2.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004532/0.004209, allocations: 159.4 kB / 252.5 MB, free: 1.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004322, allocations: 7.938 kB / 252.5 MB, free: 1.848 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.00451, allocations: 31.66 kB / 252.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.004622, allocations: 43.58 kB / 252.6 MB, free: 1.773 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.004831, allocations: 47.86 kB / 252.6 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.005131, allocations: 191 kB / 252.8 MB, free: 1.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.005315, allocations: 38.47 kB / 252.9 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.005483, allocations: 103.8 kB / 253 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005612, allocations: 51.81 kB / 253 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.005646, allocations: 15.94 kB / 253 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.005681, allocations: 16 kB / 253 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.005735, allocations: 35.83 kB / 253.1 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.005826, allocations: 55.91 kB / 253.1 MB, free: 1.227 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.00612, allocations: 171.4 kB / 253.3 MB, free: 1.059 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006123, allocations: 0 / 253.3 MB, free: 1.059 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006124, allocations: 0 / 253.3 MB, free: 1.059 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.00613, allocations: 8 kB / 253.3 MB, free: 1.051 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.0007695/0.0069, allocations: 385.6 kB / 253.7 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.006954, allocations: 11.98 kB / 253.7 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.007052, allocations: 32.8 kB / 253.7 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.0074, allocations: 169.2 kB / 253.9 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.007428, allocations: 12.38 kB / 253.9 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.007481, allocations: 24.31 kB / 253.9 MB, free: 388 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.00784, allocations: 186.2 kB / 254.1 MB, free: 180 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.007859, allocations: 4.172 kB / 254.1 MB, free: 176 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.007883, allocations: 8.375 kB / 254.1 MB, free: 168 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.007897, allocations: 8.125 kB / 254.1 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.00809, allocations: 95.83 kB / 254.2 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.009516, allocations: 0.8461 MB / 255.1 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.009688, allocations: 103.8 kB / 255.2 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.009754, allocations: 42.67 kB / 255.2 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.009768, allocations: 7.969 kB / 255.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.009804, allocations: 42.5 kB / 255.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.009805, allocations: 0 / 255.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003486/0.01015, allocations: 125.5 kB / 255.4 MB, free: 14.78 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.01023, allocations: 102.8 kB / 255.5 MB, free: 14.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.01041, allocations: 170.1 kB / 255.7 MB, free: 14.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.01044, allocations: 33.64 kB / 255.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01056, allocations: 148.2 kB / 255.8 MB, free: 14.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.01061, allocations: 51.53 kB / 255.9 MB, free: 14.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.01068, allocations: 49.94 kB / 255.9 MB, free: 14.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000311/0.01099, allocations: 322.8 kB / 256.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/0.01106, allocations: 36.45 kB / 256.3 MB, free: 13.83 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.01124, allocations: 142.7 kB / 256.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.01152, allocations: 205.4 kB / 256.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.01152, allocations: 4 kB / 256.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003578/0.01188, allocations: 221.5 kB / 256.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.0119, allocations: 4 kB / 256.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.01191, allocations: 4 kB / 256.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.01193, allocations: 4.703 kB / 256.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.01211, allocations: 51.86 kB / 256.9 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.01212, allocations: 4 kB / 256.9 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01222, allocations: 23.84 kB / 256.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.01225, allocations: 16 kB / 257 MB, free: 13.06 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 0.0001402/0.01239, allocations: 141.6 kB / 257.1 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.01245, allocations: 20.06 kB / 257.1 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.01251, allocations: 16.34 kB / 257.1 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.01251, allocations: 4 kB / 257.1 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.01252, allocations: 4 kB / 257.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.01253, allocations: 11.91 kB / 257.1 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.01293, allocations: 169.2 kB / 257.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01293, allocations: 4 kB / 257.3 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.0131, allocations: 31.92 kB / 257.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.0131, allocations: 0 / 257.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.01312, allocations: 4 kB / 257.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.01313, allocations: 7.984 kB / 257.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01313, allocations: 4 kB / 257.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.01358, allocations: 385.9 kB / 257.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.01361, allocations: 15.84 kB / 257.8 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.01364, allocations: 7.984 kB / 257.8 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.01379, allocations: 4.062 kB / 257.8 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.01382, allocations: 7.984 kB / 257.8 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.01382, allocations: 4 kB / 257.8 MB, free: 12.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.01394, allocations: 115.2 kB / 257.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01394, allocations: 3.938 kB / 257.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.01434, allocations: 39.95 kB / 257.9 MB, free: 12.02 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 0.0001595/0.0145, allocations: 107.2 kB / 258 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.01474, allocations: 107.8 kB / 258.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01474, allocations: 0 / 258.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.0148, allocations: 35.92 kB / 258.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.01534, allocations: 28.73 kB / 258.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.01631, allocations: 0.4992 MB / 258.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.01645, allocations: 116.2 kB / 258.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.59e-05/0.01652, allocations: 13.47 kB / 258.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.01657, allocations: 20.5 kB / 258.9 MB, free: 11.03 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01657, allocations: 0 / 258.9 MB, free: 11.03 MB / 250.7 MB Notification: Performance of Templates: time 0.004592/0.02116, allocations: 1.167 MB / 260 MB, free: 9.879 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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.234169228002429]