Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.0007888, allocations: 89.05 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2429, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09137/0.3343, allocations: 75.53 MB / 452.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.3347, allocations: 71.95 kB / 452.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007885/0.3426, allocations: 2.825 MB / 455.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3427, allocations: 4 kB / 455.5 MB, free: 2.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.3427, allocations: 8 kB / 455.5 MB, free: 2.094 MB / 330.7 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.0005647/0.3433, allocations: 438.7 kB / 455.9 MB, free: 1.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3433, allocations: 8.031 kB / 455.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.3434, allocations: 20.75 kB / 455.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3436, allocations: 212.1 kB / 456.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3436, allocations: 12.38 kB / 456.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.3437, allocations: 20.38 kB / 456.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.344, allocations: 186.2 kB / 456.3 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.344, allocations: 8.094 kB / 456.3 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3441, allocations: 11.94 kB / 456.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3441, allocations: 4 kB / 456.4 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3443, allocations: 95.88 kB / 456.5 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3457, allocations: 0.9711 MB / 457.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3458, allocations: 103.7 kB / 457.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.3459, allocations: 42.75 kB / 457.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3459, allocations: 4 kB / 457.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3459, allocations: 38.56 kB / 457.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.3459, allocations: 0 / 457.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002973/0.3462, allocations: 125.3 kB / 457.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.3463, allocations: 102.8 kB / 457.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3465, allocations: 203.8 kB / 458 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3465, allocations: 37.7 kB / 458.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.3466, allocations: 139.8 kB / 458.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.3467, allocations: 51.2 kB / 458.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.3467, allocations: 8 kB / 458.3 MB, free: 15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3468, allocations: 334.8 kB / 458.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.3469, allocations: 36.45 kB / 458.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.347, allocations: 142.6 kB / 458.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3473, allocations: 195.1 kB / 459 MB, free: 14.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3473, allocations: 4 kB / 459 MB, free: 14.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003272/0.3476, allocations: 217.5 kB / 459.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3476, allocations: 11.28 kB / 459.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3477, allocations: 7.938 kB / 459.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3477, allocations: 4 kB / 459.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3478, allocations: 47.92 kB / 459.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3479, allocations: 15.86 kB / 459.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.348, allocations: 23.75 kB / 459.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.348, allocations: 15.94 kB / 459.3 MB, free: 13.86 MB / 346.7 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.0001118/0.3481, allocations: 141.8 kB / 459.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.3482, allocations: 15.81 kB / 459.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.3483, allocations: 20.92 kB / 459.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3483, allocations: 4 kB / 459.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3483, allocations: 0 / 459.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3483, allocations: 0 / 459.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.3487, allocations: 241.5 kB / 459.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3487, allocations: 0 / 459.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.3489, allocations: 31.92 kB / 459.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3489, allocations: 0 / 459.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3489, allocations: 8 kB / 459.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3489, allocations: 4 kB / 459.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3489, allocations: 0 / 459.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3492, allocations: 393.6 kB / 460.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3493, allocations: 88.92 kB / 460.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.3493, allocations: 4.062 kB / 460.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3495, allocations: 4 kB / 460.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.3495, allocations: 19.86 kB / 460.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.3495, allocations: 8 kB / 460.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3497, allocations: 141.5 kB / 460.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3497, allocations: 0 / 460.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.35, allocations: 40 kB / 460.4 MB, free: 12.62 MB / 346.7 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 0.0001325/0.3502, allocations: 103.4 kB / 460.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3504, allocations: 104 kB / 460.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3504, allocations: 0 / 460.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.3504, allocations: 39.92 kB / 460.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.351, allocations: 20.09 kB / 460.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3521, allocations: 0.7623 MB / 461.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3524, allocations: 0.7206 MB / 462.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.817e-05/0.3525, allocations: 21.48 kB / 462.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3525, allocations: 19.44 kB / 462.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3525, allocations: 0 / 462.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of Templates: time 0.003783/0.3563, allocations: 1.237 MB / 463.5 MB, free: 9.531 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches