Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2286, allocations: 50.53 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002239/0.2309, allocations: 1.507 MB / 411.4 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.2327, allocations: 0.899 MB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.2327, allocations: 0 / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2329, allocations: 15.92 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.2329, allocations: 23.78 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.2332, allocations: 51.89 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.2336, allocations: 335.3 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2337, allocations: 61.53 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.2342, allocations: 0.4912 MB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.2344, allocations: 163.4 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.2345, allocations: 23.94 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.2346, allocations: 24 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2347, allocations: 183.2 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.235, allocations: 301.7 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.2357, allocations: 0.9965 MB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2358, allocations: 0 / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2358, allocations: 3.938 kB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2358, allocations: 0 / 415 MB, free: 12.5 MB / 334.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.001225/0.237, allocations: 1.302 MB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2371, allocations: 8.031 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.2372, allocations: 91.81 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.2377, allocations: 484.8 kB / 416.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.2378, allocations: 16.38 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.2378, allocations: 20.38 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.2383, allocations: 312.3 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2384, allocations: 3.938 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.2384, allocations: 8 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2384, allocations: 7.984 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.2387, allocations: 167.9 kB / 417.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2398, allocations: 0.9314 MB / 418.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.2403, allocations: 275.8 kB / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.2406, allocations: 242.5 kB / 418.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.2406, allocations: 0 / 418.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006194/0.2412, allocations: 0.5076 MB / 419.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.2413, allocations: 8 kB / 419.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.001565/0.2428, allocations: 1.003 MB / 420.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.243, allocations: 277 kB / 420.6 MB, free: 6.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.2448, allocations: 1.446 MB / 422.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.2449, allocations: 41.69 kB / 422.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.245, allocations: 122.4 kB / 422.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.245, allocations: 67.25 kB / 422.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.2453, allocations: 192.7 kB / 422.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2454, allocations: 346.8 kB / 422.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.2457, allocations: 159.8 kB / 423 MB, free: 4.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.246, allocations: 213.9 kB / 423.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.2467, allocations: 0.677 MB / 423.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2467, allocations: 0 / 423.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0011/0.2478, allocations: 0.7803 MB / 424.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.248, allocations: 197 kB / 424.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.248, allocations: 0 / 424.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.248, allocations: 4 kB / 424.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.854e-05/0.248, allocations: 7.938 kB / 424.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2481, allocations: 96 / 424.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.2483, allocations: 23.98 kB / 424.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.2484, allocations: 99.86 kB / 425 MB, free: 1.871 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.0008185/0.2492, allocations: 0.7899 MB / 425.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.2493, allocations: 102.8 kB / 425.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.2496, allocations: 199.9 kB / 426 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2496, allocations: 4 kB / 426 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2497, allocations: 0 / 426 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/0.2505, allocations: 0.5891 MB / 426.6 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.2506, allocations: 55.89 kB / 426.7 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2508, allocations: 23.98 kB / 426.7 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.251, allocations: 47.97 kB / 426.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001432/0.2524, allocations: 1.435 MB / 428.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001387/0.2538, allocations: 1.287 MB / 429.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005072/0.2543, allocations: 431.8 kB / 429.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001395/0.2557, allocations: 1.071 MB / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Backend: time 4.71e-07/0.2557, allocations: 0 / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.257, allocations: 0.8307 MB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 0.003042/0.2601, allocations: 2.738 MB / 434.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01238/0.2725, allocations: 7.961 MB / 442.5 MB, free: 15.9 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches