Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.002666/0.2343, allocations: 1.755 MB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2364, allocations: 1.01 MB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.2364, allocations: 3.938 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2366, allocations: 27.78 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.2368, allocations: 39.73 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.2371, allocations: 107.8 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.2375, allocations: 455.2 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.2377, allocations: 101.1 kB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007768/0.2385, allocations: 0.7837 MB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.2388, allocations: 175.3 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.2389, allocations: 36 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.239, allocations: 36 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.2391, allocations: 167.3 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.2394, allocations: 314 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008261/0.2403, allocations: 1.055 MB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2403, allocations: 0 / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2403, allocations: 4 kB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.2403, allocations: 0 / 416 MB, free: 11.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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001278/0.2416, allocations: 1.265 MB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2416, allocations: 8.031 kB / 417.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2418, allocations: 87.91 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.2423, allocations: 451.9 kB / 417.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.2424, allocations: 16.38 kB / 417.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.2425, allocations: 28.36 kB / 417.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008778/0.2433, allocations: 0.4946 MB / 418.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2434, allocations: 4 kB / 418.3 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.2434, allocations: 12 kB / 418.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2434, allocations: 4 kB / 418.3 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.244, allocations: 368.1 kB / 418.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.2454, allocations: 0.9258 MB / 419.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.2461, allocations: 0.5063 MB / 420.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.2467, allocations: 0.493 MB / 420.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.2468, allocations: 0 / 420.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008085/0.2476, allocations: 0.6344 MB / 421.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.704e-06/0.2476, allocations: 0 / 421.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002217/0.2498, allocations: 1.508 MB / 422.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.25, allocations: 291.2 kB / 423 MB, free: 4.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.2515, allocations: 1.16 MB / 424.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.2516, allocations: 45.69 kB / 424.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2517, allocations: 142 kB / 424.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.2518, allocations: 75.09 kB / 424.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.2521, allocations: 189 kB / 424.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2522, allocations: 338.8 kB / 425 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/0.2527, allocations: 339.8 kB / 425.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.2533, allocations: 391.2 kB / 425.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2544, allocations: 0.9731 MB / 426.7 MB, free: 320 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2544, allocations: 0 / 426.7 MB, free: 320 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001504/0.2559, allocations: 1.117 MB / 427.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.2561, allocations: 243.9 kB / 428 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2561, allocations: 0 / 428 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2561, allocations: 7.938 kB / 428 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.461e-05/0.2562, allocations: 8.047 kB / 428 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2562, allocations: 4 kB / 428 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.2565, allocations: 31.89 kB / 428.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.2566, allocations: 127.9 kB / 428.2 MB, free: 14.69 MB / 350.1 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 ($PRE.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataIn[1],dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,data_1.y,reset.y,data_0.y,enable.y,$whenCondition4,$whenCondition3,$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): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.000793/0.2574, allocations: 0.764 MB / 429 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2575, allocations: 87.06 kB / 429 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.2578, allocations: 147.5 kB / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2578, allocations: 7.938 kB / 429.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2578, allocations: 0 / 429.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.2586, allocations: 0.558 MB / 429.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.2588, allocations: 59.97 kB / 429.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.259, allocations: 27.97 kB / 429.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/0.2594, allocations: 215.8 kB / 430 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001962/0.2614, allocations: 1.715 MB / 431.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001848/0.2632, allocations: 1.474 MB / 433.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00088/0.2641, allocations: 0.7068 MB / 433.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.2652, allocations: 0.8499 MB / 434.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Backend: time 6.31e-07/0.2652, allocations: 0 / 434.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.2667, allocations: 1.248 MB / 436 MB, free: 6.473 MB / 350.1 MB Notification: Performance of SimCode: time 0.002826/0.2696, allocations: 2.489 MB / 438.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of Templates: time 0.0153/0.2849, allocations: 11.97 MB / 450.5 MB, free: 7.715 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches