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.001031/0.001031, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009278/0.0009278, allocations: 146.6 kB / 24.97 MB, free: 8.312 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.9294/0.9294, allocations: 173.3 MB / 201.5 MB, free: 9.355 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.072e-06/1.072e-06, allocations: 0 / 268.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.705e-05, allocations: 6.25 kB / 268.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002495/0.002512, allocations: 2.103 MB / 270.2 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002808/0.002793, allocations: 171.3 kB / 270.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.00286, allocations: 4 kB / 270.3 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.573e-05/0.002955, allocations: 19.73 kB / 270.4 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.00302, allocations: 51.5 kB / 270.4 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.00313, allocations: 47.88 kB / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.003284, allocations: 191.1 kB / 270.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003385, allocations: 38.47 kB / 270.7 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.003466, allocations: 103.8 kB / 270.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.00354, allocations: 51.8 kB / 270.8 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.003563, allocations: 16 kB / 270.8 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.003578, allocations: 12 kB / 270.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.003604, allocations: 31.91 kB / 270.9 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.003649, allocations: 59.83 kB / 270.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.003786, allocations: 119.5 kB / 271.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003788, allocations: 4 kB / 271.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003789, allocations: 0 / 271.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003792, allocations: 0 / 271.1 MB, free: 3.73 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.000374/0.004166, allocations: 495.8 kB / 271.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.004193, allocations: 8.031 kB / 271.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.004238, allocations: 40.8 kB / 271.6 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.004374, allocations: 164.3 kB / 271.8 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004385, allocations: 12.38 kB / 271.8 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.00441, allocations: 20.38 kB / 271.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.004578, allocations: 168.2 kB / 272 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.004589, allocations: 12.08 kB / 272 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.004601, allocations: 8.375 kB / 272 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.004608, allocations: 8.125 kB / 272 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.004713, allocations: 79.36 kB / 272.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.005489, allocations: 1.063 MB / 273.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.501e-05/0.005584, allocations: 113.2 kB / 273.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.005626, allocations: 43.17 kB / 273.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.005633, allocations: 4 kB / 273.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.005653, allocations: 37.39 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.005654, allocations: 0 / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001958/0.005849, allocations: 109.5 kB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.005891, allocations: 114.7 kB / 273.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.006001, allocations: 221.7 kB / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.00601, allocations: 29.64 kB / 273.8 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.006074, allocations: 198.9 kB / 274 MB, free: 0.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.0061, allocations: 51.53 kB / 274 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.006145, allocations: 51.59 kB / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.006272, allocations: 0.4962 MB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.006307, allocations: 20.45 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.0064, allocations: 171.9 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.006548, allocations: 219.2 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00655, allocations: 4 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001819/0.006732, allocations: 201.2 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.006745, allocations: 8 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.006753, allocations: 4 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.006762, allocations: 4 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.00685, allocations: 47.92 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006856, allocations: 4 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.006914, allocations: 23.84 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.006922, allocations: 8.406 kB / 275.3 MB, free: 15.08 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 6.682e-05/0.006989, allocations: 184.4 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.00703, allocations: 19.95 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.007055, allocations: 16.34 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007057, allocations: 0 / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007061, allocations: 4 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.007066, allocations: 7.984 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.007282, allocations: 176.5 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007283, allocations: 0 / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.007366, allocations: 31.92 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007368, allocations: 4 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.007379, allocations: 8 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.007383, allocations: 7.984 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007383, allocations: 0 / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.007599, allocations: 0.498 MB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.007613, allocations: 15.84 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.007627, allocations: 3.984 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.007715, allocations: 8 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.00773, allocations: 7.984 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.007733, allocations: 0 / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.912e-05/0.007792, allocations: 160.6 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007792, allocations: 4 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.008031, allocations: 47.89 kB / 276.5 MB, free: 13.82 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 5.494e-05/0.008086, allocations: 95.25 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.008204, allocations: 95.45 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.008205, allocations: 0.8125 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/0.008237, allocations: 40.2 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.008529, allocations: 39.38 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.009084, allocations: 0.5018 MB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.009129, allocations: 75.98 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.009168, allocations: 13.47 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.00919, allocations: 20.5 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009191, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Templates: time 0.002345/0.01154, allocations: 1.186 MB / 278.5 MB, free: 11.71 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 -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.56658296007663]