Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 111.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002011/0.002011, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.902/1.902, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3942, allocations: 50.55 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004776/0.399, allocations: 2.11 MB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005508/0.3996, allocations: 163.4 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3998, allocations: 7.938 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.4, allocations: 27.72 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.4002, allocations: 47.58 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.4004, allocations: 35.95 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.4007, allocations: 187.2 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.401, allocations: 62.27 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.4011, allocations: 63.78 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.4013, allocations: 79.62 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.4013, allocations: 12 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.883e-05/0.4014, allocations: 16 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.4014, allocations: 39.78 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.4016, allocations: 83.55 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.4019, allocations: 184.4 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4019, allocations: 0 / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4019, allocations: 0 / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.4019, allocations: 0 / 413 MB, free: 14.53 MB / 334.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.0008525/0.4028, allocations: 455 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4029, allocations: 12.03 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.4029, allocations: 20.66 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.4034, allocations: 216.1 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4034, allocations: 16.16 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.4035, allocations: 20.38 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.4039, allocations: 178.4 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4039, allocations: 11.92 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.404, allocations: 8 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.404, allocations: 4 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.4043, allocations: 99.89 kB / 414 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.4059, allocations: 0.9583 MB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.4061, allocations: 95.75 kB / 415.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.4062, allocations: 50.75 kB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4062, allocations: 3.938 kB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.4063, allocations: 42.5 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.4063, allocations: 0 / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004206/0.4067, allocations: 125.4 kB / 415.3 MB, free: 12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.4068, allocations: 110.8 kB / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.407, allocations: 203.8 kB / 415.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.4071, allocations: 29.7 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4072, allocations: 139.9 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.4073, allocations: 55.28 kB / 415.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.4074, allocations: 49.84 kB / 415.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4075, allocations: 334.8 kB / 416.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.4077, allocations: 36.45 kB / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.4079, allocations: 150.6 kB / 416.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.4082, allocations: 189.5 kB / 416.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4082, allocations: 4 kB / 416.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004266/0.4086, allocations: 217.4 kB / 416.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4087, allocations: 12.06 kB / 416.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4087, allocations: 4 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4087, allocations: 4 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.4089, allocations: 47.92 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.409, allocations: 7.984 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.4091, allocations: 31.62 kB / 416.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.4092, allocations: 19.94 kB / 416.9 MB, free: 10.21 MB / 334.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.0001434/0.4093, allocations: 129.8 kB / 417 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4094, allocations: 15.81 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.4095, allocations: 25.62 kB / 417.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4095, allocations: 4 kB / 417.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4095, allocations: 0 / 417.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4096, allocations: 3.938 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.4102, allocations: 241.4 kB / 417.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4102, allocations: 3.938 kB / 417.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.4104, allocations: 27.98 kB / 417.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4104, allocations: 4 kB / 417.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.4105, allocations: 7.984 kB / 417.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4105, allocations: 0 / 417.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4105, allocations: 8 kB / 417.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.4109, allocations: 385.7 kB / 417.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.411, allocations: 88.92 kB / 417.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.4111, allocations: 8.062 kB / 417.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4113, allocations: 0 / 417.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.4113, allocations: 15.92 kB / 417.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4113, allocations: 8 kB / 417.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.4115, allocations: 149.5 kB / 418 MB, free: 9.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4115, allocations: 0 / 418 MB, free: 9.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005932/0.4121, allocations: 36 kB / 418 MB, free: 8.977 MB / 334.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.0001346/0.4123, allocations: 99.25 kB / 418.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.4126, allocations: 116.3 kB / 418.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4126, allocations: 0 / 418.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.4127, allocations: 39.92 kB / 418.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.4135, allocations: 27.91 kB / 418.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4149, allocations: 0.6627 MB / 419 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.4154, allocations: 0.7203 MB / 419.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.4154, allocations: 23.44 kB / 419.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4154, allocations: 0 / 419.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of Templates: time 0.005407/0.4209, allocations: 2.028 MB / 421.8 MB, free: 5.191 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches