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.001435/0.001435, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001647/0.001647, 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.324/1.324, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001209/0.001209, allocations: 47.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08548, allocations: 46.63 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003443/0.08896, allocations: 2.099 MB / 330.8 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000384/0.08937, allocations: 155.4 kB / 331 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.08949, allocations: 7.938 kB / 331 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.08965, allocations: 27.72 kB / 331 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.172e-05/0.08975, allocations: 47.55 kB / 331.1 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.08998, allocations: 43.95 kB / 331.1 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.09022, allocations: 179.2 kB / 331.3 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.09039, allocations: 62.27 kB / 331.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.09047, allocations: 63.73 kB / 331.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.09059, allocations: 71.62 kB / 331.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.09062, allocations: 16 kB / 331.5 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.09065, allocations: 12 kB / 331.5 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.0907, allocations: 39.84 kB / 331.5 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.09079, allocations: 79.61 kB / 331.6 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.09101, allocations: 183.3 kB / 331.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.09102, allocations: 0 / 331.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09103, allocations: 0 / 331.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.09104, allocations: 0 / 331.8 MB, free: 0.6836 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.0006266/0.09168, allocations: 462.9 kB / 332.2 MB, free: 188 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.09172, allocations: 15.89 kB / 332.3 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.09178, allocations: 20.75 kB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.09208, allocations: 227.8 kB / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.0921, allocations: 8.375 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.09215, allocations: 20.38 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.09244, allocations: 186.2 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.09248, allocations: 7.938 kB / 332.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.0925, allocations: 8 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.09252, allocations: 7.984 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.0927, allocations: 107.8 kB / 332.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.09404, allocations: 0.9507 MB / 333.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.0942, allocations: 99.83 kB / 333.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/0.09427, allocations: 42.59 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.09429, allocations: 8 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.09432, allocations: 38.5 kB / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.09433, allocations: 0 / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003351/0.09467, allocations: 125.3 kB / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.09474, allocations: 110.8 kB / 334.2 MB, free: 14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.09496, allocations: 203.8 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.09499, allocations: 33.7 kB / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.0951, allocations: 139.8 kB / 334.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.09515, allocations: 47.36 kB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.09525, allocations: 53.78 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.09541, allocations: 330.8 kB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.0955, allocations: 36.45 kB / 335 MB, free: 13.13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.09565, allocations: 138.7 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.09591, allocations: 206 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.09593, allocations: 4 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003228/0.09625, allocations: 217.4 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.09628, allocations: 7.984 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.0963, allocations: 4 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.09632, allocations: 8 kB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.09648, allocations: 43.92 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.09649, allocations: 8 kB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.09662, allocations: 31.62 kB / 335.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.09664, allocations: 11.94 kB / 335.7 MB, free: 12.36 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.0001255/0.09677, allocations: 137.9 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.09685, allocations: 23.8 kB / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.09691, allocations: 20.94 kB / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.09692, allocations: 0 / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.09693, allocations: 0 / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.09694, allocations: 7.938 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.09737, allocations: 237.5 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.09739, allocations: 4 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.09754, allocations: 27.98 kB / 336.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.09755, allocations: 0 / 336.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.09757, allocations: 4 kB / 336.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.09758, allocations: 7.984 kB / 336.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.09759, allocations: 3.938 kB / 336.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.09791, allocations: 381.8 kB / 336.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.098, allocations: 100.8 kB / 336.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.09803, allocations: 0 / 336.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.09819, allocations: 8.062 kB / 336.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.09822, allocations: 11.92 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.09824, allocations: 4 kB / 336.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.09836, allocations: 145.5 kB / 336.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.09837, allocations: 0 / 336.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.09875, allocations: 44 kB / 336.8 MB, free: 11.12 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.0001065/0.09887, allocations: 95.3 kB / 336.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.09909, allocations: 127.6 kB / 337.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.0991, allocations: 0 / 337.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.09917, allocations: 40.44 kB / 337.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.09968, allocations: 16.19 kB / 337.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1007, allocations: 0.6261 MB / 337.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1011, allocations: 0.7319 MB / 338.5 MB, free: 9.418 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.615e-05/0.1011, allocations: 17.94 kB / 338.5 MB, free: 9.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1012, allocations: 15.44 kB / 338.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1012, allocations: 0 / 338.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of Templates: time 0.004012/0.1052, allocations: 1.335 MB / 339.8 MB, free: 8.051 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 cvode -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