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") [: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.001129/0.001129, allocations: 179.5 kB / 8.48 MB, free: 1.871 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.699/1.699, allocations: 205.2 MB / 214.1 MB, free: 5.152 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 86.3 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.654e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 47.58 MB / 362.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4943, allocations: 74.67 MB / 437.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.4947, allocations: 66.77 kB / 437.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007875/0.5026, allocations: 2.51 MB / 439.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.5027, allocations: 3.844 kB / 439.8 MB, free: 10.52 MB / 314.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.0005454/0.5032, allocations: 424.2 kB / 440.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.5033, allocations: 11.69 kB / 440.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.5034, allocations: 24.98 kB / 440.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.5037, allocations: 201.5 kB / 440.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5037, allocations: 7.719 kB / 440.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.5038, allocations: 11.41 kB / 440.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000222/0.504, allocations: 78.2 kB / 440.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.5043, allocations: 153.6 kB / 440.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5043, allocations: 12.45 kB / 440.7 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.5043, allocations: 0 / 440.7 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.5043, allocations: 3.938 kB / 440.7 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.5056, allocations: 0.9061 MB / 441.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.5058, allocations: 100 kB / 441.7 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.5059, allocations: 33.97 kB / 441.7 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.5059, allocations: 0.7656 kB / 441.7 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5059, allocations: 38.31 kB / 441.8 MB, free: 8.992 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.5059, allocations: 0 / 441.8 MB, free: 8.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002823/0.5062, allocations: 89.06 kB / 441.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.5063, allocations: 110.2 kB / 442 MB, free: 8.824 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.5064, allocations: 142 kB / 442.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.5064, allocations: 25.7 kB / 442.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.5065, allocations: 153.1 kB / 442.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.5065, allocations: 47.25 kB / 442.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.5065, allocations: 0 / 442.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.5066, allocations: 324.7 kB / 442.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.5067, allocations: 38.03 kB / 442.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.5068, allocations: 125.7 kB / 442.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.5069, allocations: 62.72 kB / 442.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5069, allocations: 3.875 kB / 442.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002703/0.5072, allocations: 171.8 kB / 443 MB, free: 8.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5072, allocations: 5.25 kB / 443 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5073, allocations: 7.781 kB / 443.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5073, allocations: 8.25 kB / 443.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.5074, allocations: 54.8 kB / 443.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5075, allocations: 9.562 kB / 443.1 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5076, allocations: 19.44 kB / 443.1 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.5076, allocations: 7.688 kB / 443.1 MB, free: 7.996 MB / 314.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 7.723e-05/0.5077, allocations: 116.5 kB / 443.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.5078, allocations: 16.92 kB / 443.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.5078, allocations: 16.31 kB / 443.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.5078, allocations: 0 / 443.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5078, allocations: 11.81 kB / 443.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.5079, allocations: 1.359 kB / 443.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.5082, allocations: 204.9 kB / 443.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5082, allocations: 0.7031 kB / 443.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.5084, allocations: 27.22 kB / 443.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5084, allocations: 4.375 kB / 443.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5084, allocations: 0 / 443.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.5085, allocations: 8.531 kB / 443.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5085, allocations: 3.938 kB / 443.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002922/0.5088, allocations: 388.2 kB / 443.9 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.5088, allocations: 93.59 kB / 444 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.5089, allocations: 4.484 kB / 444 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.509, allocations: 0 / 444 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.509, allocations: 9.859 kB / 444 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.5091, allocations: 8.609 kB / 444 MB, free: 7.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.988e-05/0.5091, allocations: 117.2 kB / 444.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.5095, allocations: 35.59 kB / 444.2 MB, free: 7.18 MB / 314.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.0001501/0.5097, allocations: 112.2 kB / 444.3 MB, free: 7.074 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.5099, allocations: 92.28 kB / 444.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5099, allocations: 1.844 kB / 444.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.5099, allocations: 34.73 kB / 444.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.5103, allocations: 27.56 kB / 444.5 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.5113, allocations: 0.5295 MB / 445 MB, free: 6.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.5116, allocations: 0.7404 MB / 445.7 MB, free: 5.965 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5116, allocations: 0 / 445.7 MB, free: 5.965 MB / 314.7 MB Notification: Performance of Templates: time 0.004679/0.5162, allocations: 1.237 MB / 447 MB, free: 5.844 MB / 314.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