Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008912, allocations: 95.27 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009563/0.0009566, allocations: 208.5 kB / 17.9 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002494, allocations: 8 kB / 306.6 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09296, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001983/0.09499, allocations: 1.694 MB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.09531, allocations: 175.4 kB / 359.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.0954, allocations: 0 / 359.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.09545, allocations: 23.84 kB / 359.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.09558, allocations: 55.77 kB / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.09571, allocations: 35.97 kB / 360 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.0959, allocations: 123.8 kB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.09604, allocations: 49.66 kB / 360.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.09611, allocations: 55.8 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.09622, allocations: 63.69 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.09624, allocations: 8 kB / 360.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.09627, allocations: 12 kB / 360.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.0963, allocations: 27.86 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.09635, allocations: 53.64 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.09649, allocations: 131.8 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.0965, allocations: 0 / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0965, allocations: 0 / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.09651, allocations: 0 / 360.6 MB, free: 11.62 MB / 302.1 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.0005078/0.09703, allocations: 442.7 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.09707, allocations: 12.03 kB / 361 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.09712, allocations: 15.81 kB / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.09732, allocations: 217.1 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.09734, allocations: 15.95 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.09738, allocations: 16 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.09764, allocations: 185.7 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.09767, allocations: 11.84 kB / 361.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.09769, allocations: 4 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.0977, allocations: 4 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.09786, allocations: 99.88 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.09899, allocations: 0.9469 MB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.09912, allocations: 103.8 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.09914, allocations: 7.938 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.09917, allocations: 34.56 kB / 362.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.09917, allocations: 0 / 362.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002685/0.09945, allocations: 121.5 kB / 362.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.09951, allocations: 106.8 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.09969, allocations: 211.7 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.09972, allocations: 37.58 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.0998, allocations: 135.9 kB / 363.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.09984, allocations: 51.3 kB / 363.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.09986, allocations: 4 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.09998, allocations: 330.8 kB / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.1001, allocations: 36.45 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1002, allocations: 134.7 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.1003, allocations: 67.92 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1003, allocations: 0 / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002846/0.1006, allocations: 213.7 kB / 364.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1006, allocations: 8 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1006, allocations: 4 kB / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1006, allocations: 4 kB / 364.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1008, allocations: 51.92 kB / 364.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1008, allocations: 12.33 kB / 364.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1009, allocations: 31.69 kB / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1009, allocations: 16 kB / 364.2 MB, free: 7.637 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.1011, allocations: 137.5 kB / 364.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.1011, allocations: 15.81 kB / 364.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.1012, allocations: 28.89 kB / 364.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1012, allocations: 4 kB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.1012, allocations: 0 / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1012, allocations: 4 kB / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.1016, allocations: 245.5 kB / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1016, allocations: 4 kB / 364.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1018, allocations: 31.92 kB / 364.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1018, allocations: 4 kB / 364.6 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1018, allocations: 0 / 364.6 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1018, allocations: 4 kB / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1018, allocations: 0 / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1021, allocations: 413.1 kB / 365.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1022, allocations: 88.92 kB / 365.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1022, allocations: 8.062 kB / 365.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1023, allocations: 0 / 365.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.1024, allocations: 15.88 kB / 365.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1024, allocations: 8 kB / 365.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1025, allocations: 149.5 kB / 365.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1025, allocations: 4 kB / 365.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.1029, allocations: 39.94 kB / 365.4 MB, free: 6.348 MB / 302.1 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 (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.0001442/0.103, allocations: 99.25 kB / 365.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1032, allocations: 107.8 kB / 365.6 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1032, allocations: 0.8125 kB / 365.6 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.1033, allocations: 35.92 kB / 365.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1036, allocations: 27.98 kB / 365.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.1046, allocations: 0.758 MB / 366.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1049, allocations: 0.7284 MB / 367.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.966e-05/0.105, allocations: 21.95 kB / 367.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.105, allocations: 15.44 kB / 367.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.105, allocations: 0 / 367.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of Templates: time 0.003398/0.1084, allocations: 1.219 MB / 368.4 MB, free: 3.277 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches