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.001059/0.001059, allocations: 111.6 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.00114/0.00114, allocations: 212 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.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.002672/0.2502, allocations: 1.754 MB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2523, allocations: 1.013 MB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.2523, allocations: 0 / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.2525, allocations: 31.72 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.2527, allocations: 43.7 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2529, allocations: 103.8 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.2534, allocations: 455.3 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2536, allocations: 105.1 kB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008231/0.2544, allocations: 0.7798 MB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.2547, allocations: 171.4 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2549, allocations: 39.94 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.255, allocations: 36 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.2552, allocations: 163.4 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.2555, allocations: 309.9 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000915/0.2564, allocations: 1.059 MB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2565, allocations: 4 kB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.2565, allocations: 0 / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2565, allocations: 3.938 kB / 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.00132/0.2578, allocations: 1.269 MB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2578, allocations: 8.031 kB / 417.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.258, allocations: 87.91 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.2585, allocations: 444 kB / 417.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.2586, allocations: 16.38 kB / 417.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.2587, allocations: 24.38 kB / 417.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.2595, allocations: 0.4985 MB / 418.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2596, allocations: 7.922 kB / 418.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.2596, allocations: 12 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2596, allocations: 8 kB / 418.3 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.2602, allocations: 368.1 kB / 418.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.2617, allocations: 0.9219 MB / 419.6 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.2623, allocations: 0.5025 MB / 420.1 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.263, allocations: 496.8 kB / 420.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.263, allocations: 4 kB / 420.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008227/0.2639, allocations: 0.6383 MB / 421.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.335e-06/0.2639, allocations: 0 / 421.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002236/0.2661, allocations: 1.515 MB / 422.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.2663, allocations: 283.3 kB / 423 MB, free: 4.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.2678, allocations: 1.156 MB / 424.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.2678, allocations: 37.7 kB / 424.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2679, allocations: 153.9 kB / 424.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.268, allocations: 71.11 kB / 424.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.2683, allocations: 193 kB / 424.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2684, allocations: 346.8 kB / 425 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.269, allocations: 339.8 kB / 425.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.2695, allocations: 375.2 kB / 425.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.2706, allocations: 0.9771 MB / 426.7 MB, free: 332 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2706, allocations: 3.938 kB / 426.7 MB, free: 328 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001472/0.2721, allocations: 1.12 MB / 427.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.2723, allocations: 247.8 kB / 428 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2723, allocations: 0 / 428 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2723, allocations: 7.938 kB / 428 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.679e-05/0.2724, allocations: 4 kB / 428 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2724, allocations: 0 / 428 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.2726, allocations: 35.94 kB / 428.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.2728, allocations: 127.9 kB / 428.2 MB, free: 14.7 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.0007322/0.2735, allocations: 0.7601 MB / 428.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2736, allocations: 87.06 kB / 429 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.2739, allocations: 151.5 kB / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2739, allocations: 3.938 kB / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2739, allocations: 0 / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008158/0.2747, allocations: 0.5659 MB / 429.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.2748, allocations: 51.97 kB / 429.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2751, allocations: 31.97 kB / 429.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.2754, allocations: 207.8 kB / 430 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001825/0.2773, allocations: 1.711 MB / 431.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001734/0.279, allocations: 1.471 MB / 433.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007594/0.2798, allocations: 0.7184 MB / 433.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.2808, allocations: 0.8576 MB / 434.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Backend: time 7.11e-07/0.2808, allocations: 0 / 434.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.2823, allocations: 1.232 MB / 436 MB, free: 6.488 MB / 350.1 MB Notification: Performance of SimCode: time 0.002663/0.285, allocations: 2.496 MB / 438.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of Templates: time 0.0153/0.3003, allocations: 11.98 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