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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 104.5 kB / 18.35 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.07975, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003841/0.08362, allocations: 2.08 MB / 330.8 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006588/0.08433, allocations: 159.4 kB / 331 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.08451, allocations: 4 kB / 331 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.08471, allocations: 35.66 kB / 331 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.08485, allocations: 47.5 kB / 331.1 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.08505, allocations: 47.94 kB / 331.1 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.08531, allocations: 179.2 kB / 331.3 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.08551, allocations: 50.28 kB / 331.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.08562, allocations: 71.78 kB / 331.4 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.08576, allocations: 71.64 kB / 331.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.0858, allocations: 12 kB / 331.5 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.08583, allocations: 16 kB / 331.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.08589, allocations: 35.84 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.08598, allocations: 79.61 kB / 331.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.08623, allocations: 179.3 kB / 331.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.08624, allocations: 3.984 kB / 331.8 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08625, allocations: 3.938 kB / 331.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.08626, allocations: 0 / 331.8 MB, free: 0.6719 MB / 270.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.0006464/0.08692, allocations: 462.9 kB / 332.2 MB, free: 176 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.08697, allocations: 15.89 kB / 332.3 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.08703, allocations: 16.75 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.08735, allocations: 220 kB / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.08737, allocations: 16.38 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.08742, allocations: 16.38 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.08775, allocations: 190.2 kB / 332.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.08777, allocations: 7.938 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.0878, allocations: 4 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.08781, allocations: 7.984 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.088, allocations: 103.9 kB / 332.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.08918, allocations: 0.9545 MB / 333.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.08938, allocations: 103.8 kB / 333.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.08944, allocations: 38.58 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.08946, allocations: 3.938 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.08949, allocations: 38.64 kB / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.614e-06/0.08949, allocations: 0 / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002981/0.0898, allocations: 137.2 kB / 334.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.08986, allocations: 106.8 kB / 334.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.09006, allocations: 203.8 kB / 334.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.09008, allocations: 25.7 kB / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.09019, allocations: 139.8 kB / 334.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.09024, allocations: 51.34 kB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.09031, allocations: 45.86 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.09055, allocations: 334.8 kB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.09063, allocations: 44.45 kB / 335 MB, free: 13.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.09082, allocations: 142.6 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.09104, allocations: 194.1 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.09106, allocations: 7.938 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003093/0.09137, allocations: 213.1 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.0914, allocations: 8 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.09141, allocations: 4 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.09143, allocations: 4 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.0916, allocations: 55.84 kB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.09162, allocations: 4.406 kB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.09174, allocations: 35.62 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.09176, allocations: 16 kB / 335.7 MB, free: 12.35 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.09187, allocations: 133.7 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.09195, allocations: 15.81 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.092, allocations: 20.92 kB / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.09201, allocations: 4 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.09202, allocations: 0 / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.09203, allocations: 3.938 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.09245, allocations: 245.5 kB / 336.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.09246, allocations: 0 / 336.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.09262, allocations: 31.92 kB / 336.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.09263, allocations: 4 kB / 336.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.09265, allocations: 4 kB / 336.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.09266, allocations: 4 kB / 336.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.09267, allocations: 0 / 336.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.09301, allocations: 389.7 kB / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.09313, allocations: 92.86 kB / 336.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.09317, allocations: 8.062 kB / 336.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.09332, allocations: 7.922 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.09336, allocations: 7.938 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.09337, allocations: 8 kB / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.0935, allocations: 145.5 kB / 336.8 MB, free: 11.15 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.0935, allocations: 0 / 336.8 MB, free: 11.15 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.09393, allocations: 36 kB / 336.8 MB, free: 11.11 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.09405, allocations: 111.2 kB / 336.9 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.09427, allocations: 107.7 kB / 337 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.09428, allocations: 0 / 337 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.09441, allocations: 37.16 kB / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.09492, allocations: 40.31 kB / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.09598, allocations: 0.6174 MB / 337.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.09633, allocations: 0.7319 MB / 338.5 MB, free: 9.406 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.645e-05/0.09642, allocations: 21.95 kB / 338.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.09646, allocations: 15.44 kB / 338.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09647, allocations: 3.938 kB / 338.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of Templates: time 0.004132/0.1006, allocations: 1.339 MB / 339.8 MB, free: 8.027 MB / 286.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches