Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.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.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay") [: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.0009989/0.000999, allocations: 185.9 kB / 8.136 MB, free: 2.207 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.145/1.145, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009725/0.0009724, allocations: 101.4 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.181e-06, allocations: 0 / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1922, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08568/0.2779, allocations: 80.94 MB / 467.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.2781, allocations: 75.89 kB / 467.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02633/0.3045, allocations: 13 MB / 480.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.3045, allocations: 12 kB / 480.9 MB, free: 8.855 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009749/0.3055, allocations: 1.022 MB / 481.9 MB, free: 7.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3056, allocations: 8.031 kB / 481.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3057, allocations: 98.78 kB / 482 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.3062, allocations: 424.8 kB / 482.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.3063, allocations: 12 kB / 482.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.3063, allocations: 23.94 kB / 482.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002997/0.3066, allocations: 187.9 kB / 482.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.3071, allocations: 335.9 kB / 483 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3071, allocations: 0 / 483 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.3072, allocations: 15.98 kB / 483 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3072, allocations: 4 kB / 483 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.3084, allocations: 0.9586 MB / 484 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.3088, allocations: 299.8 kB / 484.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.3091, allocations: 258.5 kB / 484.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-06/0.3091, allocations: 0 / 484.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/0.3096, allocations: 0.5557 MB / 485.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.3096, allocations: 0 / 485.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007677/0.3104, allocations: 0.5089 MB / 485.6 MB, free: 3.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.3105, allocations: 285 kB / 485.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.312, allocations: 1.235 MB / 487.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.3121, allocations: 45.69 kB / 487.1 MB, free: 2.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.3121, allocations: 98.47 kB / 487.2 MB, free: 2.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.3122, allocations: 71.27 kB / 487.3 MB, free: 2.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.3123, allocations: 4 kB / 487.3 MB, free: 2.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.3124, allocations: 338.8 kB / 487.6 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.3126, allocations: 199.8 kB / 487.8 MB, free: 1.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.3129, allocations: 226.5 kB / 488.1 MB, free: 1.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.3131, allocations: 162 kB / 488.2 MB, free: 1.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3131, allocations: 0 / 488.2 MB, free: 1.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006373/0.3138, allocations: 486.1 kB / 488.7 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3138, allocations: 7.125 kB / 488.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3138, allocations: 0 / 488.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3138, allocations: 4 kB / 488.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.105e-05/0.3139, allocations: 0 / 488.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3139, allocations: 4 kB / 488.7 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.3142, allocations: 31.81 kB / 488.7 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.3143, allocations: 87.94 kB / 488.8 MB, free: 0.5234 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.0002631/0.3145, allocations: 343.4 kB / 489.2 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3147, allocations: 106.8 kB / 489.3 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.315, allocations: 195.9 kB / 489.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.315, allocations: 0 / 489.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.315, allocations: 4 kB / 489.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.315, allocations: 3.984 kB / 489.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.3165, allocations: 1.392 MB / 490.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3165, allocations: 4 kB / 490.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.3166, allocations: 0 / 490.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3166, allocations: 0 / 490.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.3166, allocations: 31.92 kB / 490.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3166, allocations: 7.984 kB / 490.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3166, allocations: 0 / 490.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008543/0.3175, allocations: 0.8722 MB / 491.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/0.3184, allocations: 0.597 MB / 492.4 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.3186, allocations: 59.95 kB / 492.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.319, allocations: 31.88 kB / 492.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.3192, allocations: 79.91 kB / 492.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/0.3193, allocations: 95.92 kB / 492.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001246/0.3205, allocations: 1.04 MB / 493.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004838/0.321, allocations: 92 kB / 493.8 MB, free: 11.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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.0002089/0.3212, allocations: 175.3 kB / 493.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.322, allocations: 0.6307 MB / 494.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.322, allocations: 0 / 494.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.3226, allocations: 0.6387 MB / 495.2 MB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.3235, allocations: 199.5 kB / 495.4 MB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3261, allocations: 1.81 MB / 497.2 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008016/0.327, allocations: 1.123 MB / 498.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.327, allocations: 0 / 498.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of Templates: time 0.113/0.44, allocations: 7.628 MB / 0.4941 GB, free: 139.2 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches