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.001021/0.001021, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 63.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2835, allocations: 50.55 MB / 409.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003227/0.2867, allocations: 2.113 MB / 411.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000348/0.2871, allocations: 159.4 kB / 411.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2872, allocations: 4 kB / 411.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2874, allocations: 23.73 kB / 411.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.2875, allocations: 55.55 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.2876, allocations: 39.89 kB / 411.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2879, allocations: 183.2 kB / 411.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.288, allocations: 66.25 kB / 411.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.2881, allocations: 63.78 kB / 411.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2882, allocations: 75.64 kB / 412 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2883, allocations: 12 kB / 412 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.894e-05/0.2883, allocations: 16 kB / 412 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.2883, allocations: 35.84 kB / 412.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.2884, allocations: 83.59 kB / 412.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.2886, allocations: 176.5 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2886, allocations: 4 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2887, allocations: 4 kB / 412.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2887, allocations: 0 / 412.3 MB, free: 14.37 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.0006148/0.2893, allocations: 458.9 kB / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2893, allocations: 12.03 kB / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.2894, allocations: 24.66 kB / 412.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2897, allocations: 212.1 kB / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2897, allocations: 24.16 kB / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.2897, allocations: 16.38 kB / 413.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.29, allocations: 178.4 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.29, allocations: 7.938 kB / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2901, allocations: 4 kB / 413.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2901, allocations: 4 kB / 413.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.2903, allocations: 107.9 kB / 413.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2915, allocations: 0.9583 MB / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.2916, allocations: 99.75 kB / 414.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.2917, allocations: 50.73 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.2917, allocations: 3.938 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2918, allocations: 38.56 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.2918, allocations: 0 / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002913/0.2921, allocations: 125.4 kB / 414.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.2921, allocations: 110.7 kB / 414.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.2923, allocations: 211.7 kB / 414.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2924, allocations: 25.7 kB / 415 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.2924, allocations: 139.9 kB / 415.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.2925, allocations: 51.3 kB / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.2926, allocations: 49.84 kB / 415.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2927, allocations: 330.8 kB / 415.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.2928, allocations: 40.44 kB / 415.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2929, allocations: 146.6 kB / 415.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.2932, allocations: 197.5 kB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2932, allocations: 4 kB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002977/0.2935, allocations: 205.8 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2935, allocations: 8 kB / 416.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2935, allocations: 4.406 kB / 416.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2936, allocations: 8 kB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2937, allocations: 51.92 kB / 416.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.2937, allocations: 11.92 kB / 416.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2939, allocations: 31.62 kB / 416.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2939, allocations: 12 kB / 416.2 MB, free: 10.05 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 9.565e-05/0.294, allocations: 129.8 kB / 416.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.2941, allocations: 15.81 kB / 416.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.2941, allocations: 24.95 kB / 416.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2941, allocations: 8 kB / 416.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2941, allocations: 0 / 416.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2942, allocations: 3.938 kB / 416.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.2946, allocations: 245.4 kB / 416.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2946, allocations: 0 / 416.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2947, allocations: 31.98 kB / 416.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2947, allocations: 4 kB / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2948, allocations: 0 / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2948, allocations: 3.938 kB / 416.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2948, allocations: 8 kB / 416.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.2951, allocations: 385.8 kB / 417.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.2952, allocations: 88.98 kB / 417.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.2952, allocations: 8 kB / 417.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2953, allocations: 0 / 417.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.2954, allocations: 19.86 kB / 417.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.2954, allocations: 4 kB / 417.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2955, allocations: 153.5 kB / 417.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2955, allocations: 0 / 417.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.2959, allocations: 36 kB / 417.4 MB, free: 8.809 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.0001232/0.296, allocations: 99.25 kB / 417.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2963, allocations: 112.4 kB / 417.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2963, allocations: 4.062 kB / 417.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.2963, allocations: 43.92 kB / 417.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.2968, allocations: 27.92 kB / 417.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.2978, allocations: 0.6257 MB / 418.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2981, allocations: 0.7203 MB / 419 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.516e-05/0.2982, allocations: 21.95 kB / 419 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.2982, allocations: 15.44 kB / 419 MB, free: 7.078 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2982, allocations: 0 / 419 MB, free: 7.078 MB / 334.1 MB Notification: Performance of Templates: time 0.003958/0.3022, allocations: 1.373 MB / 420.4 MB, free: 5.715 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches