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.001573/0.001573, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002121/0.002121, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2677, allocations: 50.54 MB / 409.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003012/0.2707, allocations: 2.102 MB / 412 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003579/0.2711, allocations: 171.3 kB / 412.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.2712, allocations: 4 kB / 412.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.2714, allocations: 27.67 kB / 412.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.2715, allocations: 51.56 kB / 412.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.2716, allocations: 43.94 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2719, allocations: 183.2 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.272, allocations: 62.27 kB / 412.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.2721, allocations: 63.78 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.2722, allocations: 67.64 kB / 412.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.2723, allocations: 16 kB / 412.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.85e-05/0.2723, allocations: 12 kB / 412.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.2723, allocations: 31.86 kB / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.2724, allocations: 91.58 kB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.2726, allocations: 172.7 kB / 413 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2727, allocations: 0 / 413 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2727, allocations: 0 / 413 MB, free: 14.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2727, allocations: 3.938 kB / 413 MB, free: 14.67 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.0005886/0.2733, allocations: 466.9 kB / 413.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2733, allocations: 8.031 kB / 413.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.2734, allocations: 24.66 kB / 413.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.2736, allocations: 216 kB / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.2736, allocations: 12.16 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.2737, allocations: 28.38 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.274, allocations: 186.4 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.274, allocations: 3.938 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.274, allocations: 8 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.274, allocations: 7.938 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2742, allocations: 99.88 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2754, allocations: 0.9545 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.2755, allocations: 103.7 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.2756, allocations: 42.75 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2756, allocations: 11.94 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2757, allocations: 30.56 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.2757, allocations: 4 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002882/0.276, allocations: 125.3 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.276, allocations: 110.8 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2762, allocations: 203.7 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2762, allocations: 29.7 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.2763, allocations: 143.9 kB / 415.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.2764, allocations: 47.3 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.2764, allocations: 49.84 kB / 415.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2765, allocations: 334.8 kB / 416.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.2766, allocations: 36.45 kB / 416.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.2768, allocations: 150.6 kB / 416.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.277, allocations: 198.1 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.277, allocations: 0 / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002959/0.2773, allocations: 217.1 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2773, allocations: 6.812 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2773, allocations: 4 kB / 416.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2773, allocations: 8 kB / 416.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2775, allocations: 48.27 kB / 416.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2775, allocations: 12 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.2776, allocations: 35.61 kB / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.2777, allocations: 12 kB / 416.9 MB, free: 10.34 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.0001001/0.2778, allocations: 129.8 kB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.2778, allocations: 19.81 kB / 417.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.2779, allocations: 16.94 kB / 417.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2779, allocations: 3.984 kB / 417.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2779, allocations: 4 kB / 417.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2779, allocations: 7.938 kB / 417.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.2783, allocations: 241.4 kB / 417.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2783, allocations: 3.984 kB / 417.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.2785, allocations: 31.92 kB / 417.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2785, allocations: 0 / 417.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2785, allocations: 8 kB / 417.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2785, allocations: 0 / 417.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2785, allocations: 0 / 417.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.2788, allocations: 381.8 kB / 417.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.2789, allocations: 101 kB / 417.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.279, allocations: 8.062 kB / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2791, allocations: 4 kB / 417.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.2791, allocations: 15.86 kB / 417.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2791, allocations: 4 kB / 417.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.2793, allocations: 153.5 kB / 418 MB, free: 9.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2793, allocations: 0 / 418 MB, free: 9.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.2796, allocations: 40 kB / 418.1 MB, free: 9.09 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.942e-05/0.2798, allocations: 99.25 kB / 418.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.28, allocations: 112 kB / 418.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.28, allocations: 0.8125 kB / 418.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.28, allocations: 40.09 kB / 418.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.2805, allocations: 30.22 kB / 418.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.2814, allocations: 0.6543 MB / 419 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2817, allocations: 0.7203 MB / 419.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.2818, allocations: 19.44 kB / 419.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2818, allocations: 0 / 419.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of Templates: time 0.003381/0.2852, allocations: 2.01 MB / 421.7 MB, free: 5.336 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