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.004223/0.004223, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009262/0.0009262, allocations: 160 kB / 25.74 MB, free: 8.93 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.8452/0.8452, allocations: 158.6 MB / 187.5 MB, free: 2.922 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.463e-06/1.463e-06, allocations: 0 / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.043e-05, allocations: 2.312 kB / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002831/0.002851, allocations: 2.101 MB / 253.2 MB, free: 5.703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003584/0.00321, allocations: 167.3 kB / 253.4 MB, free: 5.539 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.003305, allocations: 7.938 kB / 253.4 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.003429, allocations: 31.72 kB / 253.4 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.003511, allocations: 43.56 kB / 253.4 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.003662, allocations: 47.89 kB / 253.5 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.003864, allocations: 183.1 kB / 253.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.004007, allocations: 42.47 kB / 253.7 MB, free: 5.188 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.00412, allocations: 107.8 kB / 253.8 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.004224, allocations: 47.88 kB / 253.9 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.004254, allocations: 12 kB / 253.9 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.311e-05/0.004277, allocations: 16 kB / 253.9 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.004311, allocations: 31.84 kB / 253.9 MB, free: 4.977 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.004445, allocations: 59.89 kB / 254 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.004634, allocations: 119.4 kB / 254.1 MB, free: 4.801 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004636, allocations: 4 kB / 254.1 MB, free: 4.797 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004637, allocations: 4 kB / 254.1 MB, free: 4.793 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004641, allocations: 0 / 254.1 MB, free: 4.793 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.000516/0.005157, allocations: 491.8 kB / 254.6 MB, free: 4.277 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.005202, allocations: 15.98 kB / 254.6 MB, free: 4.262 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.005263, allocations: 32.78 kB / 254.6 MB, free: 4.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.00547, allocations: 172 kB / 254.8 MB, free: 4.039 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.005487, allocations: 12.38 kB / 254.8 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.005522, allocations: 20.36 kB / 254.8 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.005758, allocations: 176.1 kB / 255 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.005772, allocations: 4.188 kB / 255 MB, free: 3.805 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.005789, allocations: 4.375 kB / 255 MB, free: 3.801 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.005801, allocations: 8.125 kB / 255 MB, free: 3.793 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.005929, allocations: 75.88 kB / 255.1 MB, free: 3.719 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.007017, allocations: 1.079 MB / 256.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.007131, allocations: 109.3 kB / 256.3 MB, free: 2.418 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.007177, allocations: 35.06 kB / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.007187, allocations: 4 kB / 256.3 MB, free: 2.367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.007213, allocations: 45.47 kB / 256.4 MB, free: 2.312 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.704e-06/0.007215, allocations: 0 / 256.4 MB, free: 2.312 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002709/0.007486, allocations: 113.4 kB / 256.5 MB, free: 2.195 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.00753, allocations: 102.8 kB / 256.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.007667, allocations: 221.7 kB / 256.8 MB, free: 1.836 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.007679, allocations: 25.7 kB / 256.8 MB, free: 1.805 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.007765, allocations: 202.8 kB / 257 MB, free: 1.602 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.007798, allocations: 47.59 kB / 257 MB, free: 1.555 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.007857, allocations: 51.59 kB / 257.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.007978, allocations: 0.4923 MB / 257.6 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.008024, allocations: 24.45 kB / 257.6 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.008139, allocations: 171.8 kB / 257.8 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.008331, allocations: 227.3 kB / 258 MB, free: 456 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.008334, allocations: 0 / 258 MB, free: 456 kB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000251/0.008585, allocations: 193.2 kB / 258.2 MB, free: 256 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.008603, allocations: 8 kB / 258.2 MB, free: 248 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.008612, allocations: 8 kB / 258.2 MB, free: 240 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.00863, allocations: 4 kB / 258.2 MB, free: 236 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.00876, allocations: 51.92 kB / 258.3 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.00877, allocations: 11.92 kB / 258.3 MB, free: 172 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.008857, allocations: 27.78 kB / 258.3 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.008869, allocations: 8.406 kB / 258.3 MB, free: 136 kB / 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.579e-05/0.008965, allocations: 180.5 kB / 258.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.009026, allocations: 19.84 kB / 258.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.009062, allocations: 16.34 kB / 258.5 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.009065, allocations: 3.984 kB / 258.5 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.00907, allocations: 4 kB / 258.5 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009073, allocations: 0 / 258.5 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.009387, allocations: 176.5 kB / 258.7 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.009391, allocations: 7.984 kB / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.00951, allocations: 31.98 kB / 258.7 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.009514, allocations: 4 kB / 258.7 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.009528, allocations: 0 / 258.7 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.00953, allocations: 4 kB / 258.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.009532, allocations: 3.938 kB / 258.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.01006, allocations: 498.1 kB / 259.2 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.01008, allocations: 15.89 kB / 259.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.0101, allocations: 8 kB / 259.3 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.01023, allocations: 3.938 kB / 259.3 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.01025, allocations: 11.98 kB / 259.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.01026, allocations: 4 kB / 259.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.01033, allocations: 151.2 kB / 259.4 MB, free: 14.94 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01033, allocations: 4 kB / 259.4 MB, free: 14.94 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.01069, allocations: 47.89 kB / 259.5 MB, free: 14.89 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 7.692e-05/0.01077, allocations: 95.19 kB / 259.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01094, allocations: 103.8 kB / 259.7 MB, free: 14.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01094, allocations: 4.812 kB / 259.7 MB, free: 14.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.01098, allocations: 39.55 kB / 259.7 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.01144, allocations: 31.92 kB / 259.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.01214, allocations: 0.5022 MB / 260.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.0122, allocations: 71.98 kB / 260.3 MB, free: 13.97 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.01226, allocations: 13.48 kB / 260.3 MB, free: 13.96 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.01229, allocations: 20.5 kB / 260.4 MB, free: 13.94 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01229, allocations: 0 / 260.4 MB, free: 13.94 MB / 250.7 MB Notification: Performance of Templates: time 0.003371/0.01566, allocations: 1.189 MB / 261.5 MB, free: 12.77 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 -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.592853390844539]