Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 144.2 kB / 24.89 MB, free: 9.234 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9406/0.9406, allocations: 173.4 MB / 201.5 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 268.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.874e-05, allocations: 2.312 kB / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003422/0.003441, allocations: 2.141 MB / 270.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004125/0.003854, allocations: 183.1 kB / 270.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.003946, allocations: 4 kB / 270.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.004074, allocations: 27.72 kB / 270.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.004186, allocations: 51.56 kB / 270.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.004327, allocations: 43.86 kB / 270.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.00454, allocations: 191.1 kB / 271.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004662, allocations: 42.22 kB / 271.2 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004788, allocations: 107.8 kB / 271.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004892, allocations: 47.88 kB / 271.3 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.004921, allocations: 16 kB / 271.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/0.004942, allocations: 12 kB / 271.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.004976, allocations: 35.83 kB / 271.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.00503, allocations: 51.91 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005207, allocations: 123.5 kB / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005209, allocations: 0 / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00521, allocations: 0 / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005214, allocations: 4 kB / 271.6 MB, free: 3.109 MB / 250.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.0004261/0.00564, allocations: 368.1 kB / 271.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.005672, allocations: 8.031 kB / 271.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.005719, allocations: 28.92 kB / 271.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005898, allocations: 157.4 kB / 272.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.005914, allocations: 12.38 kB / 272.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.005945, allocations: 24.38 kB / 272.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.006281, allocations: 158 kB / 272.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.006297, allocations: 4.125 kB / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.006312, allocations: 8.375 kB / 272.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.006321, allocations: 8.125 kB / 272.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.00642, allocations: 47.91 kB / 272.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.007278, allocations: 0.7519 MB / 273.1 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/0.007377, allocations: 83.83 kB / 273.2 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.007415, allocations: 38.45 kB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.007424, allocations: 4 kB / 273.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.007446, allocations: 30.56 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.007448, allocations: 4 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001949/0.007643, allocations: 85.67 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.00769, allocations: 110.8 kB / 273.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.007806, allocations: 166.4 kB / 273.6 MB, free: 0.832 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.00782, allocations: 29.7 kB / 273.7 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.007893, allocations: 148.1 kB / 273.8 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.007927, allocations: 47.58 kB / 273.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.007986, allocations: 49.92 kB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.008079, allocations: 326.8 kB / 274.2 MB, free: 220 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.008113, allocations: 16.45 kB / 274.2 MB, free: 204 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.008213, allocations: 126.6 kB / 274.4 MB, free: 28 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.008385, allocations: 174 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.008389, allocations: 0 / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002209/0.008609, allocations: 157.4 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.008623, allocations: 8 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.008631, allocations: 7.984 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.008646, allocations: 4 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.008793, allocations: 51.92 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.008807, allocations: 8 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.008902, allocations: 27.78 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.008912, allocations: 4 kB / 274.8 MB, free: 15.54 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.237e-05/0.008984, allocations: 126 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.009047, allocations: 19.92 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.009081, allocations: 24.27 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009083, allocations: 0 / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.009087, allocations: 4 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.00909, allocations: 0 / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.009413, allocations: 121.8 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009415, allocations: 0 / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.009542, allocations: 31.92 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.009545, allocations: 4 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.00956, allocations: 7.938 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.009563, allocations: 4 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.009564, allocations: 4 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.009785, allocations: 345.9 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.009803, allocations: 7.953 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.009823, allocations: 3.938 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.009966, allocations: 8 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.009987, allocations: 7.984 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.009992, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.01004, allocations: 46.28 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01004, allocations: 0 / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.01041, allocations: 43.89 kB / 275.6 MB, free: 14.7 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 7.682e-05/0.01048, allocations: 80.42 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01062, allocations: 96.78 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.01063, allocations: 0 / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.01067, allocations: 37.14 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.01107, allocations: 20.8 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.01163, allocations: 406.4 kB / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.028e-05/0.0117, allocations: 68 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.01174, allocations: 21.47 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.0118, allocations: 75.36 kB / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0118, allocations: 0 / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Templates: time 0.002679/0.01448, allocations: 1.314 MB / 277.7 MB, free: 12.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.606255385093391]