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.001094/0.001094, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.84 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2815, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003328/0.2849, allocations: 2.114 MB / 411.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003951/0.2853, allocations: 159.4 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.2854, allocations: 7.938 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.2856, allocations: 27.72 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.2857, allocations: 47.56 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2858, allocations: 43.94 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.2861, allocations: 179.2 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2863, allocations: 62.27 kB / 411.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.2863, allocations: 67.78 kB / 411.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2865, allocations: 75.56 kB / 412 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.2865, allocations: 19.94 kB / 412 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.2865, allocations: 12 kB / 412 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.2866, allocations: 31.86 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.2867, allocations: 79.61 kB / 412.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.2869, allocations: 192.4 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2869, allocations: 4 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2869, allocations: 0 / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2869, allocations: 0 / 412.3 MB, free: 14.5 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.0006184/0.2876, allocations: 459 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2876, allocations: 8.031 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.2877, allocations: 20.66 kB / 412.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2879, allocations: 216.1 kB / 413 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2879, allocations: 16.16 kB / 413 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.288, allocations: 20.38 kB / 413.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.2883, allocations: 182.4 kB / 413.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.2883, allocations: 3.938 kB / 413.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.2884, allocations: 4 kB / 413.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-06/0.2884, allocations: 15.98 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.2885, allocations: 103.9 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2897, allocations: 0.9545 MB / 414.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2899, allocations: 95.83 kB / 414.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.2899, allocations: 46.66 kB / 414.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.29, allocations: 3.938 kB / 414.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.29, allocations: 46.5 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.29, allocations: 0 / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002794/0.2903, allocations: 121.4 kB / 414.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2903, allocations: 106.8 kB / 414.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.2905, allocations: 207.7 kB / 414.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2906, allocations: 29.7 kB / 415 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.2906, allocations: 135.9 kB / 415.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.2907, allocations: 59.28 kB / 415.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2908, allocations: 49.84 kB / 415.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2909, allocations: 330.8 kB / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.291, allocations: 36.45 kB / 415.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2911, allocations: 146.6 kB / 415.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.2913, allocations: 198.1 kB / 415.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2913, allocations: 4 kB / 415.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003341/0.2917, allocations: 217.1 kB / 416.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2917, allocations: 11.2 kB / 416.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2917, allocations: 8 kB / 416.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2917, allocations: 4 kB / 416.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2919, allocations: 47.92 kB / 416.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2919, allocations: 7.938 kB / 416.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.292, allocations: 31.62 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.292, allocations: 12 kB / 416.2 MB, free: 10.19 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.034e-05/0.2921, allocations: 129.8 kB / 416.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.2922, allocations: 19.8 kB / 416.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.2923, allocations: 28.94 kB / 416.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2923, allocations: 3.938 kB / 416.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2923, allocations: 0 / 416.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.2923, allocations: 11.92 kB / 416.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.2927, allocations: 237.4 kB / 416.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2927, allocations: 4 kB / 416.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.2929, allocations: 27.98 kB / 416.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2929, allocations: 4 kB / 416.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2929, allocations: 4 kB / 416.7 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2929, allocations: 7.984 kB / 416.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2929, allocations: 0 / 416.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.2932, allocations: 385.7 kB / 417.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.2933, allocations: 92.91 kB / 417.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2933, allocations: 8.062 kB / 417.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2935, allocations: 0 / 417.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.2935, allocations: 11.92 kB / 417.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2935, allocations: 8 kB / 417.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2936, allocations: 153.5 kB / 417.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2936, allocations: 0 / 417.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.294, allocations: 36 kB / 417.4 MB, free: 8.941 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 9.485e-05/0.2941, allocations: 99.19 kB / 417.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.2944, allocations: 116.5 kB / 417.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2944, allocations: 3.938 kB / 417.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.2944, allocations: 36.5 kB / 417.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.2949, allocations: 34.28 kB / 417.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.2958, allocations: 0.6175 MB / 418.3 MB, free: 8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.2962, allocations: 0.7242 MB / 419 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.2962, allocations: 21.94 kB / 419 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.2963, allocations: 19.44 kB / 419 MB, free: 7.211 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2963, allocations: 0 / 419 MB, free: 7.211 MB / 334.1 MB Notification: Performance of Templates: time 0.003707/0.3, allocations: 1.372 MB / 420.4 MB, free: 5.848 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