Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001081/0.001081, allocations: 180.9 kB / 17.41 MB, free: 4.297 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.477/1.477, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.000778/0.000778, allocations: 83.78 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003103, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2367, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08897/0.3258, allocations: 75.55 MB / 451.3 MB, free: 5.086 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.326, allocations: 63.97 kB / 451.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007466/0.3335, allocations: 2.824 MB / 454.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3336, allocations: 4 kB / 454.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.3336, allocations: 4.188 kB / 454.2 MB, free: 2.18 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.0005318/0.3341, allocations: 438.6 kB / 454.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3342, allocations: 16.03 kB / 454.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.3342, allocations: 16.75 kB / 454.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3344, allocations: 212.1 kB / 454.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3345, allocations: 12.31 kB / 454.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3345, allocations: 20.38 kB / 454.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.3348, allocations: 182.2 kB / 455 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3349, allocations: 12.09 kB / 455.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3349, allocations: 7.938 kB / 455.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3349, allocations: 4 kB / 455.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3351, allocations: 99.88 kB / 455.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3364, allocations: 0.9635 MB / 456.1 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3365, allocations: 111.7 kB / 456.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.3366, allocations: 34.58 kB / 456.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3366, allocations: 4.188 kB / 456.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3367, allocations: 34.55 kB / 456.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.3367, allocations: 0 / 456.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.000312/0.337, allocations: 133.3 kB / 456.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.3371, allocations: 106.8 kB / 456.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3373, allocations: 203.8 kB / 456.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3373, allocations: 25.7 kB / 456.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.3374, allocations: 139.9 kB / 456.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.3374, allocations: 63.17 kB / 457 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.3374, allocations: 4 kB / 457 MB, free: 15.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3376, allocations: 326.8 kB / 457.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.3376, allocations: 40.45 kB / 457.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3378, allocations: 146.6 kB / 457.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.338, allocations: 194.6 kB / 457.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.338, allocations: 0 / 457.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003027/0.3383, allocations: 213.8 kB / 457.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3384, allocations: 7.984 kB / 457.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3384, allocations: 11.98 kB / 457.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3384, allocations: 4 kB / 457.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3386, allocations: 55.86 kB / 457.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3386, allocations: 4.406 kB / 457.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3387, allocations: 31.69 kB / 458 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3387, allocations: 15.94 kB / 458 MB, free: 13.93 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.0001208/0.3389, allocations: 133.7 kB / 458.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.3389, allocations: 19.8 kB / 458.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.339, allocations: 20.94 kB / 458.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.339, allocations: 0 / 458.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.339, allocations: 0 / 458.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.339, allocations: 7.984 kB / 458.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.3395, allocations: 229.5 kB / 458.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3395, allocations: 4 kB / 458.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.3396, allocations: 35.92 kB / 458.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3397, allocations: 7.938 kB / 458.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3397, allocations: 0 / 458.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3397, allocations: 7.984 kB / 458.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3397, allocations: 0 / 458.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.34, allocations: 389.6 kB / 458.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.3401, allocations: 96.97 kB / 458.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3401, allocations: 4 kB / 458.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3403, allocations: 7.938 kB / 458.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.3403, allocations: 11.92 kB / 459 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3403, allocations: 4 kB / 459 MB, free: 12.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3404, allocations: 145.5 kB / 459.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3405, allocations: 0 / 459.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.3408, allocations: 40 kB / 459.1 MB, free: 12.7 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.0001159/0.3409, allocations: 99.25 kB / 459.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3411, allocations: 111.8 kB / 459.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3411, allocations: 0 / 459.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.3412, allocations: 31.92 kB / 459.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.3417, allocations: 24.8 kB / 459.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3428, allocations: 0.7909 MB / 460.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3431, allocations: 0.7245 MB / 460.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.3432, allocations: 19.44 kB / 460.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3432, allocations: 3.938 kB / 460.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of Templates: time 0.003343/0.3465, allocations: 1.939 MB / 462.9 MB, free: 8.891 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches