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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 177.8 kB / 8.698 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008585, allocations: 82.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.926e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.134, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5792, allocations: 74.99 MB / 438.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.5795, allocations: 65.91 kB / 438.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007503/0.587, allocations: 2.807 MB / 440.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5871, allocations: 4 kB / 440.9 MB, free: 2.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.5871, allocations: 4 kB / 440.9 MB, free: 2.254 MB / 314.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.000519/0.5876, allocations: 421.7 kB / 441.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5877, allocations: 12.78 kB / 441.4 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.5877, allocations: 19.72 kB / 441.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.588, allocations: 205.4 kB / 441.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.588, allocations: 4 kB / 441.6 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.5881, allocations: 19.84 kB / 441.6 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001919/0.5883, allocations: 84.17 kB / 441.7 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.5886, allocations: 153.3 kB / 441.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5886, allocations: 0 / 441.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.5886, allocations: 7.875 kB / 441.8 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5886, allocations: 4 kB / 441.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.5898, allocations: 0.9131 MB / 442.8 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.59, allocations: 92.94 kB / 442.9 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.59, allocations: 37.27 kB / 442.9 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.5901, allocations: 4 kB / 442.9 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5901, allocations: 35.27 kB / 442.9 MB, free: 220 kB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5901, allocations: 0 / 442.9 MB, free: 220 kB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002491/0.5904, allocations: 88.95 kB / 443 MB, free: 136 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.5904, allocations: 109.1 kB / 443.1 MB, free: 4 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.5906, allocations: 145.1 kB / 443.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.5906, allocations: 25.7 kB / 443.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.5907, allocations: 149.7 kB / 443.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.5907, allocations: 52.59 kB / 443.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5908, allocations: 0 / 443.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5909, allocations: 325.6 kB / 443.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.591, allocations: 33.78 kB / 443.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.5911, allocations: 131.9 kB / 444 MB, free: 15.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.5912, allocations: 56.72 kB / 444 MB, free: 15.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5912, allocations: 3.953 kB / 444 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000268/0.5915, allocations: 177.3 kB / 444.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5915, allocations: 8 kB / 444.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5915, allocations: 4 kB / 444.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5915, allocations: 8.031 kB / 444.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5917, allocations: 55.23 kB / 444.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5917, allocations: 4 kB / 444.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.5918, allocations: 19.75 kB / 444.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5918, allocations: 8 kB / 444.3 MB, free: 14.85 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/0.5919, allocations: 124.5 kB / 444.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.592, allocations: 11.86 kB / 444.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.5921, allocations: 15.53 kB / 444.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5921, allocations: 4 kB / 444.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5921, allocations: 3.938 kB / 444.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5921, allocations: 0 / 444.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.5925, allocations: 212.2 kB / 444.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5925, allocations: 0 / 444.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.5927, allocations: 35.36 kB / 444.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5927, allocations: 7.953 kB / 444.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5927, allocations: 4 kB / 444.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5927, allocations: 0 / 444.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5927, allocations: 4 kB / 444.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.593, allocations: 386.2 kB / 445.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.5931, allocations: 104.8 kB / 445.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.5931, allocations: 0 / 445.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5932, allocations: 0 / 445.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.5933, allocations: 7.938 kB / 445.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5933, allocations: 11.55 kB / 445.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.24e-05/0.5934, allocations: 118.3 kB / 445.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5934, allocations: 0 / 445.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.5937, allocations: 32 kB / 445.4 MB, free: 13.77 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.5939, allocations: 107 kB / 445.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.5941, allocations: 98.92 kB / 445.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5941, allocations: 0 / 445.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.5941, allocations: 25.12 kB / 445.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.5945, allocations: 22.72 kB / 445.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.5953, allocations: 0.5487 MB / 446.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.5957, allocations: 0.7319 MB / 446.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.5958, allocations: 17.31 kB / 446.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.5958, allocations: 15.44 kB / 446.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5958, allocations: 0 / 446.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of Templates: time 0.003371/0.5992, allocations: 1.039 MB / 448 MB, free: 11.16 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches