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.0009983/0.0009983, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009845/0.0009845, allocations: 162.7 kB / 25.7 MB, free: 8.406 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 0.9789/0.9789, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.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.644e-06/1.644e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.994e-05, allocations: 6.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.006793/0.006823, allocations: 2.144 MB / 253.7 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.01045, allocations: 163.2 kB / 253.9 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.01056, allocations: 4 kB / 253.9 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.0107, allocations: 35.66 kB / 253.9 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.01081, allocations: 55.48 kB / 253.9 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.01097, allocations: 39.95 kB / 254 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.01118, allocations: 187.1 kB / 254.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.01133, allocations: 43.11 kB / 254.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.01145, allocations: 99.78 kB / 254.3 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.01157, allocations: 51.81 kB / 254.4 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.01159, allocations: 12 kB / 254.4 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.01162, allocations: 20 kB / 254.4 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.01165, allocations: 35.89 kB / 254.4 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.01171, allocations: 55.84 kB / 254.5 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.0119, allocations: 119.5 kB / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.0119, allocations: 0 / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.0119, allocations: 3.938 kB / 254.6 MB, free: 4.172 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.01191, allocations: 0 / 254.6 MB, free: 4.172 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.000479/0.01239, allocations: 372.2 kB / 255 MB, free: 3.785 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01242, allocations: 15.98 kB / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.01248, allocations: 28.91 kB / 255 MB, free: 3.742 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.01267, allocations: 153.5 kB / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.01268, allocations: 8.375 kB / 255.2 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.01271, allocations: 16.38 kB / 255.2 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.01596, allocations: 150.2 kB / 255.3 MB, free: 3.375 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01598, allocations: 8.172 kB / 255.3 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.01599, allocations: 8.375 kB / 255.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.016, allocations: 8.125 kB / 255.4 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.0161, allocations: 54.78 kB / 255.4 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.01697, allocations: 0.7597 MB / 256.2 MB, free: 2.484 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.01708, allocations: 83.73 kB / 256.2 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.01711, allocations: 30.52 kB / 256.3 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.01712, allocations: 0 / 256.3 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.01715, allocations: 42.73 kB / 256.3 MB, free: 2.285 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.01715, allocations: 3.938 kB / 256.3 MB, free: 2.281 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002075/0.01736, allocations: 89.53 kB / 256.4 MB, free: 2.188 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.01741, allocations: 106.8 kB / 256.5 MB, free: 2.059 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.01752, allocations: 166.4 kB / 256.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.01753, allocations: 29.7 kB / 256.7 MB, free: 1.848 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.01761, allocations: 148.1 kB / 256.8 MB, free: 1.699 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.01764, allocations: 51.58 kB / 256.9 MB, free: 1.648 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.0177, allocations: 45.92 kB / 256.9 MB, free: 1.598 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003404/0.01804, allocations: 326.8 kB / 257.3 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.01808, allocations: 16.45 kB / 257.3 MB, free: 1.254 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.371e-05/0.01817, allocations: 126.4 kB / 257.4 MB, free: 1.086 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.01832, allocations: 162 kB / 257.6 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.01832, allocations: 8 kB / 257.6 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002044/0.01853, allocations: 161.2 kB / 257.7 MB, free: 0.707 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01855, allocations: 8 kB / 257.7 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.01855, allocations: 4 kB / 257.7 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01857, allocations: 4.406 kB / 257.7 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.02175, allocations: 55.92 kB / 257.8 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.02176, allocations: 4 kB / 257.8 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.02186, allocations: 27.78 kB / 257.8 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.02188, allocations: 8 kB / 257.8 MB, free: 0.5977 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 9.02e-05/0.02197, allocations: 129.7 kB / 258 MB, free: 472 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.02203, allocations: 15.94 kB / 258 MB, free: 456 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.02208, allocations: 16.33 kB / 258 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02208, allocations: 4 kB / 258 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.02208, allocations: 0 / 258 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.02209, allocations: 4 kB / 258 MB, free: 432 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.02242, allocations: 125.8 kB / 258.1 MB, free: 288 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02243, allocations: 0 / 258.1 MB, free: 288 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.02255, allocations: 31.98 kB / 258.2 MB, free: 256 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.02255, allocations: 0 / 258.2 MB, free: 256 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.02257, allocations: 7.938 kB / 258.2 MB, free: 248 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.02257, allocations: 0 / 258.2 MB, free: 248 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02257, allocations: 4 kB / 258.2 MB, free: 244 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.02284, allocations: 353.9 kB / 258.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.02286, allocations: 11.91 kB / 258.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.02288, allocations: 7.938 kB / 258.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.02302, allocations: 4 kB / 258.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.02304, allocations: 11.98 kB / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.02304, allocations: 7.984 kB / 258.6 MB, free: 15.83 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.239e-05/0.02309, allocations: 32.83 kB / 258.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02309, allocations: 0 / 258.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003816/0.02347, allocations: 43.94 kB / 258.6 MB, free: 15.75 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.0001104/0.02358, allocations: 76.36 kB / 258.7 MB, free: 15.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.02372, allocations: 89.12 kB / 258.8 MB, free: 15.58 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.02373, allocations: 0 / 258.8 MB, free: 15.58 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.02377, allocations: 40.77 kB / 258.8 MB, free: 15.54 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.02422, allocations: 24.69 kB / 258.9 MB, free: 15.51 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.02789, allocations: 394.7 kB / 259.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.295e-05/0.02795, allocations: 71.98 kB / 259.3 MB, free: 15 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.02802, allocations: 21.42 kB / 259.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.0281, allocations: 67.38 kB / 259.4 MB, free: 14.92 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0281, allocations: 0 / 259.4 MB, free: 14.92 MB / 250.7 MB Notification: Performance of Templates: time 0.006933/0.03503, allocations: 1.315 MB / 260.7 MB, free: 13.62 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=240 -s gbode -gbm=radauIIA3 -emit_protected -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.5769494380801916]