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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009942/0.0009942, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.5 MB / 245.4 MB, free: 6.418 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007588/0.0007588, allocations: 95.59 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002466/0.0002466, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2223, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09181/0.3142, allocations: 77.29 MB / 486.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.3144, allocations: 69.72 kB / 486.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007312/0.3217, allocations: 2.898 MB / 489.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3217, allocations: 0 / 489.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3218, allocations: 4 kB / 489.6 MB, free: 11.23 MB / 362.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.0004532/0.3222, allocations: 431.2 kB / 490 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3223, allocations: 8.031 kB / 490.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.3223, allocations: 24.66 kB / 490.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3225, allocations: 204.1 kB / 490.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3225, allocations: 20.36 kB / 490.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3226, allocations: 16.38 kB / 490.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.3229, allocations: 186.2 kB / 490.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3229, allocations: 4.094 kB / 490.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3229, allocations: 11.94 kB / 490.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3229, allocations: 4 kB / 490.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3231, allocations: 103.9 kB / 490.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3242, allocations: 0.9585 MB / 491.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3244, allocations: 107.8 kB / 491.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.3244, allocations: 35.64 kB / 491.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3244, allocations: 3.938 kB / 491.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3245, allocations: 42.64 kB / 491.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3245, allocations: 0 / 491.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002716/0.3248, allocations: 125.4 kB / 491.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3248, allocations: 110.8 kB / 492 MB, free: 8.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.325, allocations: 195.9 kB / 492.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.325, allocations: 29.7 kB / 492.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.3251, allocations: 139.9 kB / 492.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3251, allocations: 63.17 kB / 492.4 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.3252, allocations: 8 kB / 492.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3253, allocations: 330.8 kB / 492.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.3254, allocations: 36.45 kB / 492.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.3255, allocations: 138.6 kB / 492.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3257, allocations: 205.5 kB / 493.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3257, allocations: 0 / 493.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000298/0.326, allocations: 213.8 kB / 493.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3261, allocations: 12.39 kB / 493.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3261, allocations: 4 kB / 493.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3261, allocations: 8 kB / 493.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3262, allocations: 47.92 kB / 493.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3263, allocations: 11.88 kB / 493.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3264, allocations: 23.75 kB / 493.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3264, allocations: 15.94 kB / 493.4 MB, free: 7 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.3265, allocations: 137.5 kB / 493.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.3266, allocations: 23.88 kB / 493.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.3266, allocations: 20.94 kB / 493.6 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3266, allocations: 8 kB / 493.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3267, allocations: 0 / 493.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3267, allocations: 0 / 493.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.3271, allocations: 237.5 kB / 493.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3271, allocations: 0 / 493.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.3272, allocations: 27.98 kB / 493.9 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3272, allocations: 7.938 kB / 493.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3272, allocations: 0 / 493.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3273, allocations: 7.969 kB / 493.9 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3273, allocations: 4 kB / 493.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3276, allocations: 393.6 kB / 494.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.3276, allocations: 92.91 kB / 494.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.3277, allocations: 4 kB / 494.4 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.3278, allocations: 4.062 kB / 494.4 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.3278, allocations: 15.86 kB / 494.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3278, allocations: 4 kB / 494.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.328, allocations: 157.5 kB / 494.6 MB, free: 5.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.328, allocations: 0 / 494.6 MB, free: 5.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.3283, allocations: 36 kB / 494.6 MB, free: 5.742 MB / 362.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 (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.0001055/0.3284, allocations: 95.25 kB / 494.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.3286, allocations: 118.6 kB / 494.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3286, allocations: 4.25 kB / 494.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/0.3287, allocations: 35.92 kB / 494.8 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.3291, allocations: 23.98 kB / 494.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.3301, allocations: 0.7502 MB / 495.6 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3304, allocations: 0.7284 MB / 496.4 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.385e-05/0.3304, allocations: 17.55 kB / 496.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.3305, allocations: 15.44 kB / 496.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3305, allocations: 0 / 496.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of Templates: time 0.003097/0.3336, allocations: 1.228 MB / 497.6 MB, free: 2.676 MB / 362.7 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/jenkins1/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