Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001405/0.001405, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001457/0.001457, allocations: 165.5 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9345/0.9345, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 4 kB / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.382e-05, allocations: 2.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002447/0.00247, allocations: 2.118 MB / 275.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.002853, allocations: 159.4 kB / 275.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.228e-05/0.002945, allocations: 7.938 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.00307, allocations: 27.72 kB / 275.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.045e-05/0.00315, allocations: 55.5 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.003305, allocations: 47.88 kB / 275.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.003535, allocations: 187.1 kB / 275.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.003695, allocations: 34.48 kB / 275.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.00383, allocations: 99.78 kB / 275.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.003925, allocations: 59.8 kB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.003951, allocations: 12 kB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.00397, allocations: 20 kB / 275.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.003998, allocations: 31.84 kB / 275.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.004054, allocations: 59.84 kB / 275.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.00422, allocations: 119.5 kB / 276.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004222, allocations: 0 / 276.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004223, allocations: 0 / 276.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004227, allocations: 0 / 276.1 MB, free: 14.82 MB / 266.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.0004445/0.004672, allocations: 487.9 kB / 276.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.004709, allocations: 16.03 kB / 276.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.004776, allocations: 32.8 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.004967, allocations: 160.3 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.004984, allocations: 12.38 kB / 276.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.005021, allocations: 24.27 kB / 276.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.005227, allocations: 168.6 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.005238, allocations: 192 / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.005251, allocations: 4.375 kB / 277 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.005262, allocations: 12.12 kB / 277 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.005371, allocations: 75.88 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.006316, allocations: 1.074 MB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.006441, allocations: 109.2 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.006491, allocations: 43.23 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.006501, allocations: 4 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.006532, allocations: 45.27 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.774e-06/0.006534, allocations: 0 / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002466/0.006781, allocations: 110.1 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.006832, allocations: 106.8 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.006981, allocations: 228.3 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.007302, allocations: 33.7 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.007387, allocations: 190.9 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.007419, allocations: 59.52 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.007471, allocations: 51.53 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.007589, allocations: 0.4923 MB / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.007631, allocations: 24.45 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.007739, allocations: 171.4 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.007915, allocations: 222.7 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.007918, allocations: 4 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002155/0.008133, allocations: 197.2 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.00815, allocations: 8 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.008158, allocations: 4 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.008177, allocations: 4.406 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.008287, allocations: 51.92 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.008295, allocations: 7.938 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.008359, allocations: 23.84 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.008371, allocations: 15.98 kB / 280.3 MB, free: 10.17 MB / 266.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 7.934e-05/0.00845, allocations: 184.4 kB / 280.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.008492, allocations: 15.91 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.008524, allocations: 16.34 kB / 280.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.008528, allocations: 4 kB / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.008532, allocations: 0 / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008536, allocations: 0 / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.008777, allocations: 180.5 kB / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008779, allocations: 0 / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.008873, allocations: 31.92 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.008875, allocations: 0 / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.008892, allocations: 8 kB / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008894, allocations: 0 / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008895, allocations: 0 / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.009185, allocations: 0.4942 MB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.009206, allocations: 15.98 kB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.009232, allocations: 11.98 kB / 281.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.009365, allocations: 7.922 kB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.00939, allocations: 11.98 kB / 281.3 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.009403, allocations: 4 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.547e-05/0.009479, allocations: 156.7 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009479, allocations: 0 / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.009883, allocations: 39.95 kB / 281.4 MB, free: 8.934 MB / 266.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.024e-05/0.009963, allocations: 103.2 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.01011, allocations: 100.1 kB / 281.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01011, allocations: 3.938 kB / 281.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.01015, allocations: 35.61 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.01048, allocations: 27.92 kB / 281.7 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.01107, allocations: 0.5065 MB / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.967e-05/0.01112, allocations: 71.98 kB / 282.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.47e-05/0.01117, allocations: 21.42 kB / 282.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.01119, allocations: 16.5 kB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01119, allocations: 0 / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of Templates: time 0.002855/0.01405, allocations: 1.193 MB / 283.5 MB, free: 6.805 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.471725187031552]