Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 101.7 kB / 18.4 MB, free: 4.66 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.00163/0.00163, allocations: 187 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 47.94 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.0964, allocations: 46.61 MB / 375.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002632/0.09907, allocations: 1.75 MB / 377.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.101, allocations: 1.006 MB / 378.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.1011, allocations: 4 kB / 378.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1012, allocations: 31.78 kB / 378.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1014, allocations: 35.72 kB / 378.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1016, allocations: 111.8 kB / 378.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.1021, allocations: 447.2 kB / 379.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.1023, allocations: 113.1 kB / 379.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.103, allocations: 0.7837 MB / 380.1 MB, free: 332 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.1033, allocations: 175.3 kB / 380.3 MB, free: 156 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.997e-05/0.1034, allocations: 36 kB / 380.3 MB, free: 120 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.1035, allocations: 36 kB / 380.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1654/0.2689, allocations: 159.2 kB / 380.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.2693, allocations: 312 kB / 380.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009161/0.2702, allocations: 1.055 MB / 381.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2702, allocations: 0 / 381.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2702, allocations: 0 / 381.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2702, allocations: 0 / 381.8 MB, free: 10.38 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001084/0.2713, allocations: 1.266 MB / 383.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2714, allocations: 8.25 kB / 383.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.2715, allocations: 88.41 kB / 383.2 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.2719, allocations: 454 kB / 383.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.272, allocations: 20.53 kB / 383.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.2721, allocations: 26.78 kB / 383.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.2731, allocations: 0.4924 MB / 384.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2731, allocations: 3.938 kB / 384.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.2731, allocations: 17.44 kB / 384.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.2732, allocations: 1.531 kB / 384.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.2737, allocations: 368.4 kB / 384.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.275, allocations: 0.9205 MB / 385.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.2756, allocations: 0.4989 MB / 386 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.2762, allocations: 497.3 kB / 386.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2762, allocations: 1.781 kB / 386.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007632/0.2769, allocations: 0.6436 MB / 387.1 MB, free: 8.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.277, allocations: 0 / 387.1 MB, free: 8.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002093/0.2791, allocations: 1.513 MB / 388.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.2792, allocations: 283.6 kB / 388.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.2806, allocations: 1.151 MB / 390.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.2807, allocations: 44.92 kB / 390.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.2808, allocations: 151.6 kB / 390.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.2808, allocations: 71.5 kB / 390.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.2811, allocations: 189.6 kB / 390.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.2812, allocations: 341.2 kB / 390.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.2816, allocations: 343.2 kB / 391.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.2822, allocations: 384.9 kB / 391.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.2831, allocations: 0.9763 MB / 392.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2831, allocations: 0.6562 kB / 392.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001472/0.2846, allocations: 1.117 MB / 393.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.2848, allocations: 248.9 kB / 393.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2848, allocations: 5.016 kB / 393.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2848, allocations: 3.375 kB / 393.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.862e-05/0.2848, allocations: 6.781 kB / 393.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2848, allocations: 5.219 kB / 393.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.2851, allocations: 34.12 kB / 393.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.2853, allocations: 130.8 kB / 394.1 MB, free: 4.434 MB / 318.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.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataIn[1],dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.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.0008234/0.2861, allocations: 0.7542 MB / 394.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.2863, allocations: 87.61 kB / 394.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.2865, allocations: 150.1 kB / 395 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2865, allocations: 4.453 kB / 395.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2865, allocations: 3.75 kB / 395.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/0.2872, allocations: 0.5584 MB / 395.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.2874, allocations: 59.94 kB / 395.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2876, allocations: 32.06 kB / 395.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/0.288, allocations: 209.3 kB / 395.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001681/0.2897, allocations: 1.712 MB / 397.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001704/0.2914, allocations: 1.476 MB / 399.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007957/0.2922, allocations: 0.7084 MB / 399.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001335/0.2935, allocations: 0.8571 MB / 400.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of Backend: time 2.9e-07/0.2935, allocations: 4.844 kB / 400.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.2951, allocations: 1.233 MB / 401.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 0.003042/0.2981, allocations: 2.501 MB / 404.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Templates: time 0.01587/0.314, allocations: 12.18 MB / 416.6 MB, free: 5.555 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches