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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 114.3 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 47.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2549, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002372/0.2573, allocations: 1.496 MB / 402.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2591, allocations: 0.8715 MB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.2592, allocations: 0 / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.2593, allocations: 15.86 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.2594, allocations: 23.8 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.2596, allocations: 47.94 kB / 403.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.26, allocations: 335.2 kB / 404.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2602, allocations: 77.5 kB / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.2607, allocations: 495 kB / 404.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.2609, allocations: 159.4 kB / 404.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.261, allocations: 20 kB / 404.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.188e-05/0.2611, allocations: 24 kB / 405 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.2612, allocations: 187.2 kB / 405.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.2615, allocations: 305.7 kB / 405.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000747/0.2622, allocations: 0.9887 MB / 406.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2623, allocations: 4 kB / 406.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2623, allocations: 0 / 406.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2623, allocations: 0 / 406.4 MB, free: 3.832 MB / 318.1 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.001292/0.2636, allocations: 1.302 MB / 407.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2636, allocations: 8.031 kB / 407.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2638, allocations: 95.81 kB / 407.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.2644, allocations: 472.9 kB / 408.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.2645, allocations: 24.25 kB / 408.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.2646, allocations: 16.38 kB / 408.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.2651, allocations: 316.3 kB / 408.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2651, allocations: 0 / 408.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.2652, allocations: 12 kB / 408.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2652, allocations: 0 / 408.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2655, allocations: 167.8 kB / 408.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.2667, allocations: 0.9391 MB / 409.8 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.2671, allocations: 271.8 kB / 410 MB, free: 16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.2675, allocations: 234.5 kB / 410.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.2675, allocations: 0 / 410.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006509/0.2681, allocations: 0.5233 MB / 410.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 3.587e-06/0.2681, allocations: 4 kB / 410.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.001654/0.2698, allocations: 1.01 MB / 411.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.2699, allocations: 277 kB / 412.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.2717, allocations: 1.446 MB / 413.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.2718, allocations: 38.53 kB / 413.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.2718, allocations: 122.5 kB / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.2719, allocations: 75.17 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.2721, allocations: 184.8 kB / 413.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2723, allocations: 342.8 kB / 414.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.2726, allocations: 159.9 kB / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.2729, allocations: 208.9 kB / 414.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.2736, allocations: 0.6925 MB / 415.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2736, allocations: 4 kB / 415.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001047/0.2746, allocations: 0.7802 MB / 416.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.2748, allocations: 194.2 kB / 416.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2748, allocations: 0 / 416.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2748, allocations: 4 kB / 416.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.2748, allocations: 4 kB / 416.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2748, allocations: 0 / 416.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.2751, allocations: 32.08 kB / 416.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/0.2752, allocations: 91.86 kB / 416.4 MB, free: 9.191 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.delay.inertialDelaySensitive[3].y,table2.y,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].x,$whenCondition6,$whenCondition5,$PRE.delay.inertialDelaySensitive[2].y,table1.y,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].x,$whenCondition4,$whenCondition3,$PRE.delay.inertialDelaySensitive[1].y,table.y,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].x,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008264/0.276, allocations: 0.7857 MB / 417.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.2762, allocations: 102.8 kB / 417.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.2764, allocations: 199.9 kB / 417.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2764, allocations: 0 / 417.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2765, allocations: 0 / 417.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009447/0.2774, allocations: 0.5813 MB / 418.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.2776, allocations: 67.89 kB / 418.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.2778, allocations: 19.98 kB / 418.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.2779, allocations: 47.94 kB / 418.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001532/0.2795, allocations: 1.431 MB / 419.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001399/0.2809, allocations: 1.284 MB / 420.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005122/0.2814, allocations: 440 kB / 421.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.2828, allocations: 1.071 MB / 422.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Backend: time 6.61e-07/0.2829, allocations: 3.938 kB / 422.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.2842, allocations: 0.8384 MB / 423.3 MB, free: 2 MB / 334.1 MB Notification: Performance of SimCode: time 0.003083/0.2873, allocations: 2.729 MB / 426 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01271/0.3, allocations: 7.967 MB / 434 MB, free: 7.23 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches