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.001154/0.001154, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001854/0.003008, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001207/0.001207, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001788/0.002995, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9017/0.9017, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1639/1.066, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.614e-05, allocations: 5.406 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002947/0.002973, allocations: 2.133 MB / 224.1 MB, free: 13.92 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.003307, allocations: 175.2 kB / 224.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.003387, allocations: 4 kB / 224.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.439e-05/0.003471, allocations: 35.72 kB / 224.3 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.003546, allocations: 43.52 kB / 224.4 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.677e-05/0.003642, allocations: 47.88 kB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.003834, allocations: 187.1 kB / 224.6 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.003945, allocations: 39.08 kB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.004065, allocations: 115.8 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.004164, allocations: 47.88 kB / 224.8 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.00419, allocations: 15.94 kB / 224.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.004209, allocations: 20 kB / 224.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.004235, allocations: 19.94 kB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.004278, allocations: 51.88 kB / 224.9 MB, free: 13.13 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004433, allocations: 107.5 kB / 225 MB, free: 13.03 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.004445, allocations: 3.938 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004446, allocations: 4 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.004456, allocations: 0 / 225 MB, free: 13.02 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.0004657/0.004922, allocations: 407.6 kB / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.004951, allocations: 8.031 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.005, allocations: 28.92 kB / 225.4 MB, free: 12.56 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005161, allocations: 149.5 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.005175, allocations: 12.38 kB / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.005205, allocations: 24.36 kB / 225.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.005352, allocations: 154.4 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005362, allocations: 192 / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.005372, allocations: 8.375 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.00538, allocations: 8.125 kB / 225.8 MB, free: 12.17 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.375e-05/0.005444, allocations: 55.89 kB / 225.8 MB, free: 12.11 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.006092, allocations: 0.7518 MB / 226.6 MB, free: 11.31 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.006174, allocations: 83.92 kB / 226.7 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.006201, allocations: 34.5 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.00621, allocations: 4 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.006232, allocations: 34.56 kB / 226.8 MB, free: 11.11 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.006233, allocations: 0 / 226.8 MB, free: 11.11 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001578/0.006391, allocations: 93.52 kB / 226.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.006433, allocations: 110.8 kB / 227 MB, free: 10.88 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.006531, allocations: 162.5 kB / 227.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.006543, allocations: 29.7 kB / 227.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.006608, allocations: 152.1 kB / 227.3 MB, free: 10.52 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.006635, allocations: 47.58 kB / 227.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.006679, allocations: 45.92 kB / 227.4 MB, free: 10.43 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.006763, allocations: 326.8 kB / 227.7 MB, free: 10.1 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.006786, allocations: 24.45 kB / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.006855, allocations: 118.6 kB / 227.8 MB, free: 9.91 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.006981, allocations: 182 kB / 228 MB, free: 9.684 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.006984, allocations: 4 kB / 228 MB, free: 9.68 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001513/0.007135, allocations: 157.2 kB / 228.2 MB, free: 9.52 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.007151, allocations: 8 kB / 228.2 MB, free: 9.512 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.007158, allocations: 4 kB / 228.2 MB, free: 9.508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.007173, allocations: 4.406 kB / 228.2 MB, free: 9.504 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.007274, allocations: 55.92 kB / 228.2 MB, free: 9.449 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.007279, allocations: 4 kB / 228.2 MB, free: 9.445 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.00734, allocations: 27.78 kB / 228.3 MB, free: 9.418 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.00735, allocations: 8 kB / 228.3 MB, free: 9.41 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.671e-05/0.007416, allocations: 129.7 kB / 228.4 MB, free: 9.273 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.007453, allocations: 11.94 kB / 228.4 MB, free: 9.262 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.007489, allocations: 20.33 kB / 228.4 MB, free: 9.242 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.007493, allocations: 4 kB / 228.4 MB, free: 9.238 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.007497, allocations: 0 / 228.4 MB, free: 9.238 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.0075, allocations: 4 kB / 228.4 MB, free: 9.234 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.00772, allocations: 121.8 kB / 228.6 MB, free: 9.098 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007722, allocations: 0 / 228.6 MB, free: 9.098 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.0078, allocations: 27.98 kB / 228.6 MB, free: 9.07 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.007815, allocations: 19.84 kB / 228.6 MB, free: 9.051 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007816, allocations: 0 / 228.6 MB, free: 9.051 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.007829, allocations: 4 kB / 228.6 MB, free: 9.047 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.007831, allocations: 4 kB / 228.6 MB, free: 9.043 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007833, allocations: 0 / 228.6 MB, free: 9.043 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.008018, allocations: 349.9 kB / 229 MB, free: 8.684 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.008033, allocations: 3.938 kB / 229 MB, free: 8.68 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.008107, allocations: 12 kB / 229 MB, free: 8.668 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.00812, allocations: 3.984 kB / 229 MB, free: 8.664 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.008124, allocations: 7.984 kB / 229 MB, free: 8.656 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.088e-05/0.008155, allocations: 36.83 kB / 229 MB, free: 8.617 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008155, allocations: 0 / 229 MB, free: 8.617 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000217/0.008372, allocations: 39.94 kB / 229.1 MB, free: 8.578 MB / 234.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.367e-05/0.008456, allocations: 84.36 kB / 229.1 MB, free: 8.484 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.008577, allocations: 101.6 kB / 229.2 MB, free: 8.383 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.008586, allocations: 4 kB / 229.2 MB, free: 8.379 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.008617, allocations: 40.77 kB / 229.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.008945, allocations: 222.2 kB / 229.5 MB, free: 8.082 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007993/0.009744, allocations: 355.2 kB / 229.9 MB, free: 7.703 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.282e-05/0.009797, allocations: 75.92 kB / 229.9 MB, free: 7.609 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.009848, allocations: 17.47 kB / 229.9 MB, free: 7.594 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.009916, allocations: 67.38 kB / 230 MB, free: 7.527 MB / 234.7 MB Notification: Performance of SimCode: time 8.51e-07/0.009917, allocations: 4 kB / 230 MB, free: 7.523 MB / 234.7 MB Notification: Performance of Templates: time 0.003117/0.01303, allocations: 1.159 MB / 231.2 MB, free: 6.379 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.565817384980619]