Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 226.5 MB / 245.3 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007475/0.0007476, allocations: 95.45 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002284/0.0002286, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2708, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09281/0.3637, allocations: 77.28 MB / 485.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.364, allocations: 67.97 kB / 486 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007464/0.3715, allocations: 2.89 MB / 488.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3715, allocations: 4 kB / 488.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3715, allocations: 0 / 488.9 MB, free: 11.33 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.0004646/0.372, allocations: 431.1 kB / 489.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.372, allocations: 12.03 kB / 489.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3721, allocations: 24.66 kB / 489.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3723, allocations: 216.1 kB / 489.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3723, allocations: 8.375 kB / 489.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.3723, allocations: 16.38 kB / 489.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.3726, allocations: 182.2 kB / 489.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3727, allocations: 12.03 kB / 489.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3727, allocations: 11.94 kB / 489.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3727, allocations: 4 kB / 489.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.3729, allocations: 99.88 kB / 489.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.374, allocations: 0.9507 MB / 490.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3742, allocations: 107.7 kB / 491 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.3743, allocations: 43.75 kB / 491 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3743, allocations: 7.938 kB / 491 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3743, allocations: 42.5 kB / 491 MB, free: 8.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.915e-06/0.3743, allocations: 0 / 491 MB, free: 8.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002823/0.3746, allocations: 121.4 kB / 491.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.3747, allocations: 110.8 kB / 491.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3749, allocations: 199.9 kB / 491.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3749, allocations: 25.7 kB / 491.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.375, allocations: 151.8 kB / 491.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.375, allocations: 55.2 kB / 491.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.375, allocations: 4 kB / 491.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3751, allocations: 334.8 kB / 492 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.3752, allocations: 36.45 kB / 492.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3753, allocations: 146.6 kB / 492.2 MB, free: 7.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.3756, allocations: 198 kB / 492.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3756, allocations: 0 / 492.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002898/0.3759, allocations: 217.1 kB / 492.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3759, allocations: 4.406 kB / 492.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.3759, allocations: 8 kB / 492.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3759, allocations: 4 kB / 492.6 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3761, allocations: 47.92 kB / 492.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.3761, allocations: 11.92 kB / 492.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3762, allocations: 23.75 kB / 492.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.3762, allocations: 19.94 kB / 492.7 MB, free: 7.094 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.0001035/0.3763, allocations: 137.5 kB / 492.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.3764, allocations: 15.81 kB / 492.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.3765, allocations: 28.92 kB / 492.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3765, allocations: 0 / 492.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3765, allocations: 0 / 492.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3765, allocations: 4 kB / 492.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.3769, allocations: 237.5 kB / 493.1 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3769, allocations: 0 / 493.1 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.3771, allocations: 27.98 kB / 493.2 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3771, allocations: 4 kB / 493.2 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3771, allocations: 4 kB / 493.2 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.3771, allocations: 4 kB / 493.2 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3771, allocations: 3.938 kB / 493.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3774, allocations: 393.6 kB / 493.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.3774, allocations: 88.92 kB / 493.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3775, allocations: 8.062 kB / 493.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3776, allocations: 4.125 kB / 493.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.3777, allocations: 11.92 kB / 493.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3777, allocations: 8 kB / 493.7 MB, free: 6.031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.3778, allocations: 157.4 kB / 493.8 MB, free: 5.879 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3778, allocations: 3.938 kB / 493.8 MB, free: 5.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.3782, allocations: 36 kB / 493.9 MB, free: 5.84 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.0001106/0.3783, allocations: 99.25 kB / 494 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3785, allocations: 116.5 kB / 494.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3785, allocations: 0 / 494.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.3785, allocations: 35.92 kB / 494.1 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.3791, allocations: 31.03 kB / 494.2 MB, free: 5.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.3801, allocations: 0.7786 MB / 494.9 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3803, allocations: 0.7206 MB / 495.7 MB, free: 3.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.3804, allocations: 19.44 kB / 495.7 MB, free: 3.977 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3804, allocations: 0 / 495.7 MB, free: 3.977 MB / 362.7 MB Notification: Performance of Templates: time 0.003159/0.3835, allocations: 1.938 MB / 497.6 MB, free: 2.047 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches