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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00239/0.00239, allocations: 180.9 kB / 8.152 MB, free: 2.199 MB / 5.871 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 / 213.8 MB, free: 13.86 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.00174/0.001739, allocations: 91.36 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.217e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2569, allocations: 47.56 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.3729, allocations: 74.69 MB / 436.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.3732, allocations: 60.47 kB / 436.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0113/0.3846, allocations: 2.501 MB / 439.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.3846, allocations: 5.312 kB / 439.1 MB, free: 8.832 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.0006326/0.3853, allocations: 429.9 kB / 439.5 MB, free: 8.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3853, allocations: 12.03 kB / 439.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.3854, allocations: 23.72 kB / 439.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3857, allocations: 206.8 kB / 439.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3857, allocations: 8 kB / 439.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.3858, allocations: 12 kB / 439.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002833/0.3861, allocations: 79.97 kB / 439.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.3864, allocations: 153.9 kB / 440 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3864, allocations: 7.906 kB / 440 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.3865, allocations: 0 / 440 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.3865, allocations: 4 kB / 440 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.3882, allocations: 0.9084 MB / 440.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3883, allocations: 95.81 kB / 441 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.3884, allocations: 38.52 kB / 441 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.3885, allocations: 0 / 441 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3885, allocations: 34.56 kB / 441.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.3885, allocations: 0 / 441.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003403/0.3889, allocations: 98.25 kB / 441.2 MB, free: 6.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.3889, allocations: 110.8 kB / 441.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3891, allocations: 141.3 kB / 441.4 MB, free: 6.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3891, allocations: 25.7 kB / 441.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3893, allocations: 210.2 kB / 441.6 MB, free: 6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.3893, allocations: 47.3 kB / 441.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.3893, allocations: 1.406 kB / 441.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3895, allocations: 318.8 kB / 442 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3896, allocations: 40.47 kB / 442 MB, free: 5.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.3898, allocations: 130.4 kB / 442.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.3899, allocations: 51.98 kB / 442.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3899, allocations: 0 / 442.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004177/0.3904, allocations: 177.2 kB / 442.4 MB, free: 5.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3904, allocations: 4 kB / 442.4 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3904, allocations: 7.125 kB / 442.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.3904, allocations: 12.31 kB / 442.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.3908, allocations: 47.92 kB / 442.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3908, allocations: 11.98 kB / 442.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.3909, allocations: 11.84 kB / 442.5 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.391, allocations: 12 kB / 442.5 MB, free: 5.082 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 6.76e-05/0.391, allocations: 37.42 kB / 442.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.3912, allocations: 19.28 kB / 442.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.3912, allocations: 16.12 kB / 442.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3912, allocations: 0 / 442.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3913, allocations: 7.984 kB / 442.6 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3913, allocations: 4 kB / 442.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.3918, allocations: 213.9 kB / 442.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3919, allocations: 0 / 442.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.3922, allocations: 34.98 kB / 442.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3922, allocations: 3.906 kB / 442.8 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3923, allocations: 4 kB / 442.8 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3923, allocations: 3.984 kB / 442.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3923, allocations: 0 / 442.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004026/0.3927, allocations: 393.2 kB / 443.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.3928, allocations: 89.23 kB / 443.3 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.3928, allocations: 4 kB / 443.3 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3931, allocations: 0 / 443.3 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.3931, allocations: 19.88 kB / 443.3 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3931, allocations: 8 kB / 443.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001064/0.3932, allocations: 113.7 kB / 443.5 MB, free: 4.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.3937, allocations: 39.84 kB / 443.5 MB, free: 4.008 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.0001324/0.3939, allocations: 91.72 kB / 443.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3941, allocations: 99.84 kB / 443.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3942, allocations: 1.844 kB / 443.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.3942, allocations: 35.94 kB / 443.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.3947, allocations: 23.08 kB / 443.7 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.396, allocations: 0.5547 MB / 444.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.3964, allocations: 0.7424 MB / 445 MB, free: 2.41 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3964, allocations: 0 / 445 MB, free: 2.41 MB / 330.7 MB Notification: Performance of Templates: time 0.004581/0.401, allocations: 1.805 MB / 446.8 MB, free: 0.6328 MB / 330.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