Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007276/0.0007276, allocations: 93.47 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 4 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2252, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08669/0.3119, allocations: 76.56 MB / 478.1 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.3122, allocations: 65.94 kB / 478.1 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007518/0.3197, allocations: 2.892 MB / 481 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3197, allocations: 0 / 481 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.3198, allocations: 4 kB / 481 MB, free: 0.9805 MB / 346.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.0004912/0.3203, allocations: 423 kB / 481.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3203, allocations: 12.02 kB / 481.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.3204, allocations: 35.61 kB / 481.5 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3206, allocations: 202.8 kB / 481.7 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3206, allocations: 12 kB / 481.7 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.3206, allocations: 23.91 kB / 481.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.3209, allocations: 177.7 kB / 481.9 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.321, allocations: 0 / 481.9 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.321, allocations: 12.08 kB / 481.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.321, allocations: 7.938 kB / 481.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.3212, allocations: 111.8 kB / 482 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3224, allocations: 0.9468 MB / 483 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3226, allocations: 103.8 kB / 483.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3226, allocations: 7.953 kB / 483.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3226, allocations: 38.5 kB / 483.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.3226, allocations: 0 / 483.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002978/0.3229, allocations: 121.5 kB / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.323, allocations: 114.8 kB / 483.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3232, allocations: 182.9 kB / 483.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3232, allocations: 29.7 kB / 483.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.3233, allocations: 147.8 kB / 483.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3233, allocations: 51.23 kB / 483.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.3234, allocations: 8 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3235, allocations: 335.8 kB / 484.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.3235, allocations: 40.39 kB / 484.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3237, allocations: 140.3 kB / 484.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.3238, allocations: 55.94 kB / 484.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3238, allocations: 4 kB / 484.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002808/0.3241, allocations: 217.8 kB / 484.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3241, allocations: 15.94 kB / 484.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3241, allocations: 0 / 484.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3241, allocations: 8 kB / 484.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3243, allocations: 47.92 kB / 484.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3243, allocations: 7.938 kB / 484.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3244, allocations: 28.16 kB / 484.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3244, allocations: 12 kB / 484.6 MB, free: 13.01 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.0001038/0.3246, allocations: 141.5 kB / 484.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.3246, allocations: 19.81 kB / 484.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.3247, allocations: 20.89 kB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3247, allocations: 4 kB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3247, allocations: 0 / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3247, allocations: 3.984 kB / 484.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.3251, allocations: 237.5 kB / 485.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3251, allocations: 4 kB / 485.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3253, allocations: 27.98 kB / 485.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3253, allocations: 0 / 485.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3253, allocations: 8 kB / 485.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3253, allocations: 11.88 kB / 485.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3253, allocations: 0 / 485.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3256, allocations: 409.2 kB / 485.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.3257, allocations: 100.9 kB / 485.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3257, allocations: 0 / 485.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3259, allocations: 4 kB / 485.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.3259, allocations: 15.92 kB / 485.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.3259, allocations: 4 kB / 485.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.326, allocations: 145.5 kB / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.326, allocations: 0 / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003407/0.3264, allocations: 47.91 kB / 485.8 MB, free: 11.72 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.0001357/0.3265, allocations: 99.25 kB / 485.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3267, allocations: 107.8 kB / 486 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3267, allocations: 0.8125 kB / 486 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/0.3268, allocations: 35.92 kB / 486.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3272, allocations: 27.98 kB / 486.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.3282, allocations: 0.7619 MB / 486.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3285, allocations: 0.7284 MB / 487.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.751e-05/0.3286, allocations: 25.48 kB / 487.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.3286, allocations: 15.44 kB / 487.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3286, allocations: 0 / 487.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of Templates: time 0.003553/0.3322, allocations: 1.223 MB / 488.8 MB, free: 8.641 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches