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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 96.55 kB / 16.3 MB, free: 6.461 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.0008653/0.0008653, allocations: 177.6 kB / 17.19 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002394/0.0002394, allocations: 10.38 kB / 300.7 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09019, allocations: 50.42 MB / 351.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002169/0.09242, allocations: 1.692 MB / 352.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.09276, allocations: 171.4 kB / 353 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.09286, allocations: 4 kB / 353 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.09292, allocations: 19.84 kB / 353 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.09307, allocations: 55.81 kB / 353.1 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.09323, allocations: 31.95 kB / 353.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.09347, allocations: 131.7 kB / 353.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.09362, allocations: 41.94 kB / 353.3 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.09369, allocations: 55.78 kB / 353.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.09379, allocations: 63.64 kB / 353.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.09382, allocations: 8 kB / 353.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.226e-05/0.09385, allocations: 8 kB / 353.4 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.09388, allocations: 31.91 kB / 353.4 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.09393, allocations: 53.64 kB / 353.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.09406, allocations: 131.6 kB / 353.6 MB, free: 9.258 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.09407, allocations: 0 / 353.6 MB, free: 9.258 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09408, allocations: 0 / 353.6 MB, free: 9.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.09409, allocations: 0 / 353.6 MB, free: 9.258 MB / 286.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.0005129/0.0946, allocations: 442.7 kB / 354.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.09464, allocations: 8.031 kB / 354.1 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.09469, allocations: 19.81 kB / 354.1 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.0949, allocations: 210.8 kB / 354.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.09494, allocations: 12 kB / 354.3 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.09498, allocations: 16 kB / 354.3 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.09525, allocations: 185.6 kB / 354.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.09527, allocations: 4 kB / 354.5 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.0953, allocations: 7.984 kB / 354.5 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.09532, allocations: 7.953 kB / 354.5 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.09549, allocations: 103.8 kB / 354.6 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.09668, allocations: 0.9548 MB / 355.6 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.09683, allocations: 107.7 kB / 355.7 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.09685, allocations: 0 / 355.7 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.09689, allocations: 34.75 kB / 355.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.0969, allocations: 0 / 355.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003181/0.09722, allocations: 125.4 kB / 355.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.09729, allocations: 114.8 kB / 355.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.0975, allocations: 207.7 kB / 356.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.09753, allocations: 25.7 kB / 356.2 MB, free: 6.426 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.09764, allocations: 139.8 kB / 356.3 MB, free: 6.285 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.09768, allocations: 55.28 kB / 356.4 MB, free: 6.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.0977, allocations: 4 kB / 356.4 MB, free: 6.227 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.09783, allocations: 330.8 kB / 356.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.0979, allocations: 36.45 kB / 356.7 MB, free: 5.855 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.09803, allocations: 142.6 kB / 356.9 MB, free: 5.668 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.09814, allocations: 60.5 kB / 356.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.09815, allocations: 3.938 kB / 356.9 MB, free: 5.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000295/0.09845, allocations: 229 kB / 357.1 MB, free: 5.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.09848, allocations: 8 kB / 357.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.09849, allocations: 4 kB / 357.2 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.09851, allocations: 4 kB / 357.2 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.09866, allocations: 47.92 kB / 357.2 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.09868, allocations: 4 kB / 357.2 MB, free: 5.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.09879, allocations: 24.16 kB / 357.2 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.09881, allocations: 20 kB / 357.3 MB, free: 5.266 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.09891, allocations: 137.5 kB / 357.4 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.09898, allocations: 27.67 kB / 357.4 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.09903, allocations: 16.94 kB / 357.4 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.09904, allocations: 4 kB / 357.4 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.09905, allocations: 0 / 357.4 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.09906, allocations: 3.984 kB / 357.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.09944, allocations: 233.6 kB / 357.7 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.09945, allocations: 0 / 357.7 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.09961, allocations: 35.92 kB / 357.7 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.09962, allocations: 4 kB / 357.7 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.09964, allocations: 11.94 kB / 357.7 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09965, allocations: 0 / 357.7 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.09965, allocations: 4 kB / 357.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.09995, allocations: 417 kB / 358.1 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.1, allocations: 96.97 kB / 358.2 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1, allocations: 4 kB / 358.2 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1002, allocations: 3.938 kB / 358.2 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.1002, allocations: 11.98 kB / 358.2 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1002, allocations: 4 kB / 358.3 MB, free: 4.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1004, allocations: 149.5 kB / 358.4 MB, free: 4.016 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1004, allocations: 0 / 358.4 MB, free: 4.016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1007, allocations: 40 kB / 358.4 MB, free: 3.977 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 (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 9.036e-05/0.1008, allocations: 99.25 kB / 358.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.101, allocations: 107.8 kB / 358.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.101, allocations: 0 / 358.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.1011, allocations: 36.73 kB / 358.7 MB, free: 3.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1014, allocations: 36.62 kB / 358.7 MB, free: 3.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.1024, allocations: 0.7612 MB / 359.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1027, allocations: 0.7284 MB / 360.2 MB, free: 2.145 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.999e-05/0.1027, allocations: 21.95 kB / 360.2 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1028, allocations: 15.44 kB / 360.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1028, allocations: 0 / 360.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of Templates: time 0.003429/0.1062, allocations: 1.211 MB / 361.4 MB, free: 0.9023 MB / 286.1 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