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.001517/0.001517, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.745/1.745, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009565/0.0009565, allocations: 78.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.582e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5019, allocations: 75.4 MB / 445.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.5022, allocations: 67.73 kB / 445.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007488/0.5097, allocations: 2.837 MB / 448.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5098, allocations: 0 / 448.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.5098, allocations: 8 kB / 448.3 MB, free: 15.36 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.0004873/0.5103, allocations: 422 kB / 448.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5103, allocations: 12.03 kB / 448.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.5104, allocations: 19.72 kB / 448.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.5106, allocations: 199.4 kB / 449 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.5107, allocations: 15.92 kB / 449 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.5107, allocations: 27.47 kB / 449 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.511, allocations: 180 kB / 449.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.511, allocations: 7.938 kB / 449.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.511, allocations: 11.42 kB / 449.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.5111, allocations: 8 kB / 449.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.5112, allocations: 90.61 kB / 449.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.5125, allocations: 0.9727 MB / 450.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.5126, allocations: 93.39 kB / 450.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.5127, allocations: 46.06 kB / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.5127, allocations: 0 / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5127, allocations: 42.14 kB / 450.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.5127, allocations: 0 / 450.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002551/0.513, allocations: 102.4 kB / 450.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.5131, allocations: 102.8 kB / 450.7 MB, free: 13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5133, allocations: 180.2 kB / 450.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.5133, allocations: 29.7 kB / 450.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5134, allocations: 142 kB / 451 MB, free: 12.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.5135, allocations: 54.97 kB / 451.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.5135, allocations: 11.19 kB / 451.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5137, allocations: 333.6 kB / 451.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.5137, allocations: 32.91 kB / 451.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.5139, allocations: 137.3 kB / 451.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.514, allocations: 65.98 kB / 451.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.514, allocations: 0 / 451.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002996/0.5143, allocations: 208.8 kB / 451.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5144, allocations: 11.98 kB / 451.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5144, allocations: 4 kB / 451.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5144, allocations: 4 kB / 451.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.5146, allocations: 47.92 kB / 451.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.5146, allocations: 7.938 kB / 451.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.5147, allocations: 27.62 kB / 451.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5147, allocations: 16.09 kB / 451.9 MB, free: 11.79 MB / 330.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 () * 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 8.618e-05/0.5148, allocations: 127.1 kB / 452.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.5149, allocations: 19.8 kB / 452.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.5149, allocations: 15.75 kB / 452.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.515, allocations: 4 kB / 452.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.515, allocations: 3.938 kB / 452.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.515, allocations: 0 / 452.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.5154, allocations: 246.7 kB / 452.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5154, allocations: 0 / 452.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.5156, allocations: 27.98 kB / 452.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5156, allocations: 4 kB / 452.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.5156, allocations: 15.38 kB / 452.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5156, allocations: 0 / 452.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5156, allocations: 3.984 kB / 452.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.516, allocations: 396.1 kB / 452.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.5161, allocations: 104.2 kB / 452.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.5161, allocations: 0 / 452.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5163, allocations: 7.375 kB / 452.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.5163, allocations: 11.92 kB / 452.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.5163, allocations: 0 / 452.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.5164, allocations: 151.9 kB / 453.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5164, allocations: 0 / 453.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.5168, allocations: 43.14 kB / 453.1 MB, free: 10.62 MB / 330.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 () * 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.0001856/0.517, allocations: 102.5 kB / 453.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.5172, allocations: 104.6 kB / 453.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5173, allocations: 2.75 kB / 453.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.5173, allocations: 34.95 kB / 453.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5177, allocations: 20.2 kB / 453.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.5186, allocations: 0.5719 MB / 453.9 MB, free: 9.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.519, allocations: 0.7324 MB / 454.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.5191, allocations: 17.55 kB / 454.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.5191, allocations: 19.44 kB / 454.7 MB, free: 9.02 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5191, allocations: 0 / 454.7 MB, free: 9.02 MB / 330.7 MB Notification: Performance of Templates: time 0.003685/0.5228, allocations: 1.226 MB / 455.9 MB, free: 7.805 MB / 330.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/jenkins/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