Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 183.4 kB / 8.135 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.4 MB / 229.9 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.000955, allocations: 102.2 kB / 280.8 MB, free: 1.324 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.313e-06/7.354e-06, allocations: 0 / 336.5 MB, free: 9.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2882, allocations: 50.4 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3896, allocations: 75.76 MB / 462.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.3898, allocations: 68.83 kB / 462.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007505/0.3973, allocations: 2.551 MB / 465.3 MB, free: 8.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3974, allocations: 8 kB / 465.3 MB, free: 8.516 MB / 346.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.0004883/0.3979, allocations: 422.1 kB / 465.7 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.398, allocations: 12.03 kB / 465.7 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.398, allocations: 24.75 kB / 465.7 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3983, allocations: 202.8 kB / 465.9 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3984, allocations: 8 kB / 465.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.3984, allocations: 12 kB / 466 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002729/0.3987, allocations: 85.56 kB / 466 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.399, allocations: 157.7 kB / 466.2 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.399, allocations: 7.906 kB / 466.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3991, allocations: 0 / 466.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3991, allocations: 4 kB / 466.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.4003, allocations: 0.9086 MB / 467.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4005, allocations: 103.7 kB / 467.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.4005, allocations: 39.55 kB / 467.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.4006, allocations: 0 / 467.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4006, allocations: 38.56 kB / 467.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.4006, allocations: 0 / 467.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002433/0.4009, allocations: 89.7 kB / 467.4 MB, free: 6.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.4009, allocations: 106.8 kB / 467.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.401, allocations: 149.2 kB / 467.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4011, allocations: 25.7 kB / 467.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.4011, allocations: 139.8 kB / 467.8 MB, free: 5.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.4012, allocations: 51.3 kB / 467.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.4012, allocations: 0 / 467.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4013, allocations: 324.8 kB / 468.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.4014, allocations: 40.47 kB / 468.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4015, allocations: 127.4 kB / 468.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.4016, allocations: 59.91 kB / 468.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4016, allocations: 4 kB / 468.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002559/0.4019, allocations: 181.1 kB / 468.6 MB, free: 4.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4019, allocations: 8 kB / 468.6 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4019, allocations: 4 kB / 468.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4019, allocations: 4.406 kB / 468.6 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.4021, allocations: 51.92 kB / 468.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4021, allocations: 4 kB / 468.6 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4022, allocations: 16.03 kB / 468.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4022, allocations: 16 kB / 468.7 MB, free: 4.809 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 () * 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.639e-05/0.4023, allocations: 112.8 kB / 468.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.4024, allocations: 15.81 kB / 468.8 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.4025, allocations: 20.11 kB / 468.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4025, allocations: 4 kB / 468.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4025, allocations: 3.938 kB / 468.8 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4025, allocations: 4 kB / 468.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.4029, allocations: 206 kB / 469 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4029, allocations: 0 / 469 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.4031, allocations: 32.55 kB / 469.1 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4031, allocations: 4 kB / 469.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.4031, allocations: 0 / 469.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4031, allocations: 0 / 469.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4031, allocations: 5.438 kB / 469.1 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003114/0.4034, allocations: 393.1 kB / 469.5 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.4035, allocations: 101.8 kB / 469.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.4035, allocations: 0 / 469.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.4037, allocations: 0 / 469.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.4037, allocations: 8 kB / 469.6 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4037, allocations: 7.984 kB / 469.6 MB, free: 3.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.386e-05/0.4038, allocations: 115.3 kB / 469.7 MB, free: 3.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.4042, allocations: 35.91 kB / 469.7 MB, free: 3.668 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 () * 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.4043, allocations: 101.7 kB / 469.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.4045, allocations: 95.8 kB / 469.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4045, allocations: 0.8125 kB / 469.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.4045, allocations: 39.88 kB / 469.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.4049, allocations: 26.81 kB / 470 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.4058, allocations: 0.5241 MB / 470.5 MB, free: 2.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.4061, allocations: 0.7424 MB / 471.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4061, allocations: 0 / 471.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of Templates: time 0.003511/0.4096, allocations: 1.228 MB / 472.5 MB, free: 0.8867 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches