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.001181/0.001181, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002698, allocations: 445.7 kB / 10.37 MB, free: 328 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.001186/0.001186, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003729/0.004915, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8218/0.8218, allocations: 158.6 MB / 171.1 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1487/0.9705, allocations: 49.49 MB / 220.5 MB, free: 1.453 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.232e-06/1.232e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.725e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002148/0.002165, allocations: 2.125 MB / 224 MB, free: 14.03 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.002389, allocations: 171.2 kB / 224.1 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.002462, allocations: 8 kB / 224.1 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.12e-05/0.002533, allocations: 31.59 kB / 224.2 MB, free: 13.82 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.002605, allocations: 55.55 kB / 224.2 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.268e-05/0.002687, allocations: 31.95 kB / 224.3 MB, free: 13.74 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.002849, allocations: 191.1 kB / 224.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002958, allocations: 43.06 kB / 224.5 MB, free: 13.51 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.003072, allocations: 115.8 kB / 224.6 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.003154, allocations: 51.88 kB / 224.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.00318, allocations: 16 kB / 224.7 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.003197, allocations: 12 kB / 224.7 MB, free: 13.32 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.00322, allocations: 27.88 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.003281, allocations: 47.88 kB / 224.7 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.003425, allocations: 115.5 kB / 224.9 MB, free: 13.13 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.003438, allocations: 0 / 224.9 MB, free: 13.13 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003439, allocations: 0 / 224.9 MB, free: 13.13 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.003453, allocations: 0 / 224.9 MB, free: 13.13 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.0004761/0.003929, allocations: 411.6 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.003959, allocations: 8.031 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.004001, allocations: 24.92 kB / 225.3 MB, free: 12.67 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.004151, allocations: 157.5 kB / 225.4 MB, free: 12.49 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004164, allocations: 12.38 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.004189, allocations: 12.38 kB / 225.5 MB, free: 12.47 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004326, allocations: 154.4 kB / 225.6 MB, free: 12.3 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.004336, allocations: 192 / 225.6 MB, free: 12.3 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.004348, allocations: 8.375 kB / 225.6 MB, free: 12.29 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.004356, allocations: 16.12 kB / 225.6 MB, free: 12.27 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.004422, allocations: 47.91 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006807/0.005102, allocations: 0.7518 MB / 226.4 MB, free: 11.42 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.00518, allocations: 87.81 kB / 226.5 MB, free: 11.31 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.005207, allocations: 26.52 kB / 226.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.005216, allocations: 4 kB / 226.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.005238, allocations: 42.58 kB / 226.6 MB, free: 11.22 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.005239, allocations: 4 kB / 226.6 MB, free: 11.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001419/0.005381, allocations: 81.59 kB / 226.7 MB, free: 11.13 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.005419, allocations: 110.8 kB / 226.8 MB, free: 11 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.005504, allocations: 166.4 kB / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005514, allocations: 25.7 kB / 227 MB, free: 10.79 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.005567, allocations: 148.1 kB / 227.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.005598, allocations: 51.58 kB / 227.2 MB, free: 10.59 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.005637, allocations: 45.92 kB / 227.2 MB, free: 10.54 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.005709, allocations: 326.8 kB / 227.5 MB, free: 10.21 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.005728, allocations: 16.45 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.005793, allocations: 138.5 kB / 227.7 MB, free: 10.01 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.006046, allocations: 169.6 kB / 227.9 MB, free: 9.797 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.006049, allocations: 0 / 227.9 MB, free: 9.797 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001312/0.00618, allocations: 161.8 kB / 228 MB, free: 9.633 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.006194, allocations: 8.406 kB / 228 MB, free: 9.625 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.006201, allocations: 4 kB / 228 MB, free: 9.621 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.006211, allocations: 8 kB / 228 MB, free: 9.613 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.006303, allocations: 55.92 kB / 228.1 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.006309, allocations: 7.938 kB / 228.1 MB, free: 9.551 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.006362, allocations: 27.78 kB / 228.1 MB, free: 9.523 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.006369, allocations: 8 kB / 228.1 MB, free: 9.516 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 5.792e-05/0.006427, allocations: 129.8 kB / 228.3 MB, free: 9.379 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.006459, allocations: 11.94 kB / 228.3 MB, free: 9.367 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.006489, allocations: 20.33 kB / 228.3 MB, free: 9.352 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.00649, allocations: 0 / 228.3 MB, free: 9.352 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.006492, allocations: 4 kB / 228.3 MB, free: 9.348 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.006496, allocations: 4 kB / 228.3 MB, free: 9.344 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.006689, allocations: 121.8 kB / 228.4 MB, free: 9.207 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00669, allocations: 0 / 228.4 MB, free: 9.207 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.00677, allocations: 31.98 kB / 228.4 MB, free: 9.176 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.006783, allocations: 15.84 kB / 228.5 MB, free: 9.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006785, allocations: 0 / 228.5 MB, free: 9.16 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.006796, allocations: 4 kB / 228.5 MB, free: 9.156 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006798, allocations: 3.938 kB / 228.5 MB, free: 9.152 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006798, allocations: 0 / 228.5 MB, free: 9.152 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.006962, allocations: 349.9 kB / 228.8 MB, free: 8.793 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.006976, allocations: 7.938 kB / 228.8 MB, free: 8.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.007048, allocations: 4 kB / 228.8 MB, free: 8.781 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.007063, allocations: 11.98 kB / 228.8 MB, free: 8.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007067, allocations: 3.984 kB / 228.8 MB, free: 8.766 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.7e-05/0.007094, allocations: 36.77 kB / 228.9 MB, free: 8.727 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007094, allocations: 0 / 228.9 MB, free: 8.727 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000204/0.007298, allocations: 43.94 kB / 228.9 MB, free: 8.684 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 7.194e-05/0.00737, allocations: 76.42 kB / 229 MB, free: 8.598 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.007478, allocations: 88.61 kB / 229.1 MB, free: 8.508 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.007486, allocations: 4 kB / 229.1 MB, free: 8.504 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.007511, allocations: 36.78 kB / 229.1 MB, free: 8.465 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.00779, allocations: 41.95 kB / 229.2 MB, free: 8.426 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.008572, allocations: 367.2 kB / 229.5 MB, free: 8.035 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.008618, allocations: 71.98 kB / 229.6 MB, free: 7.945 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.008656, allocations: 18.08 kB / 229.6 MB, free: 7.93 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.008717, allocations: 75.36 kB / 229.7 MB, free: 7.855 MB / 234.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008717, allocations: 4 kB / 229.7 MB, free: 7.852 MB / 234.7 MB Notification: Performance of Templates: time 0.003142/0.01186, allocations: 1.305 MB / 231 MB, free: 6.562 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.476115566678345]