Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 107.3 kB / 18.4 MB, free: 4.699 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.001597/0.001597, allocations: 187.3 kB / 19.34 MB, free: 3.777 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.515/1.515, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001344/0.001344, allocations: 59.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09583, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.003446/0.09933, allocations: 1.742 MB / 377.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1018, allocations: 1.014 MB / 378.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.102, allocations: 4 kB / 378.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.1023, allocations: 31.72 kB / 378.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1024, allocations: 27.78 kB / 378.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.1028, allocations: 115.8 kB / 378.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.1034, allocations: 451.2 kB / 379.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.1037, allocations: 105.1 kB / 379.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008727/0.1046, allocations: 0.7837 MB / 380.1 MB, free: 300 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.1049, allocations: 183.3 kB / 380.3 MB, free: 116 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1051, allocations: 36 kB / 380.3 MB, free: 80 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1052, allocations: 36 kB / 380.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2455/0.3507, allocations: 158.6 kB / 380.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.3513, allocations: 309 kB / 380.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3525, allocations: 1.059 MB / 381.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3525, allocations: 0 / 381.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3525, allocations: 0 / 381.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3525, allocations: 0 / 381.9 MB, free: 10.39 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.001409/0.354, allocations: 1.266 MB / 383.1 MB, free: 9.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.354, allocations: 9.812 kB / 383.1 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.3542, allocations: 89.48 kB / 383.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.3548, allocations: 454.1 kB / 383.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.3548, allocations: 21.08 kB / 383.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.3549, allocations: 24.3 kB / 383.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.3562, allocations: 0.4921 MB / 384.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3562, allocations: 5.031 kB / 384.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.3562, allocations: 17.25 kB / 384.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3563, allocations: 2.094 kB / 384.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.3569, allocations: 370.9 kB / 384.6 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.3589, allocations: 0.919 MB / 385.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/0.3597, allocations: 0.4969 MB / 386 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/0.3606, allocations: 0.491 MB / 386.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3606, allocations: 4.062 kB / 386.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.362, allocations: 0.643 MB / 387.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 3.416e-06/0.362, allocations: 0 / 387.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.003672/0.3657, allocations: 1.509 MB / 388.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.366, allocations: 281.2 kB / 388.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.3685, allocations: 1.155 MB / 390.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.3686, allocations: 41.59 kB / 390.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3687, allocations: 147.3 kB / 390.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.3688, allocations: 74.72 kB / 390.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.3691, allocations: 189.1 kB / 390.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.3692, allocations: 340.3 kB / 390.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.3698, allocations: 347.5 kB / 391.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.3703, allocations: 381.4 kB / 391.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3718, allocations: 0.9757 MB / 392.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3718, allocations: 1.156 kB / 392.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002155/0.3739, allocations: 1.125 MB / 393.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.3741, allocations: 250.7 kB / 393.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3742, allocations: 1.828 kB / 393.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.3742, allocations: 2.156 kB / 393.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.383e-05/0.3742, allocations: 5.844 kB / 393.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3743, allocations: 2.125 kB / 393.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.3747, allocations: 41.86 kB / 394 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.3749, allocations: 124.8 kB / 394.1 MB, free: 4.402 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.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.001444/0.3763, allocations: 0.764 MB / 394.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.3765, allocations: 86.12 kB / 394.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.3768, allocations: 150 kB / 395.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3768, allocations: 8.656 kB / 395.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3768, allocations: 1.25 kB / 395.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008629/0.3777, allocations: 0.5583 MB / 395.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.3779, allocations: 59.36 kB / 395.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.3781, allocations: 25.47 kB / 395.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/0.3786, allocations: 209.5 kB / 395.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00221/0.3808, allocations: 1.709 MB / 397.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001976/0.3828, allocations: 1.482 MB / 399.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000843/0.3836, allocations: 0.7021 MB / 399.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.3852, allocations: 0.8608 MB / 400.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of Backend: time 5.21e-07/0.3852, allocations: 0 / 400.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3869, allocations: 1.239 MB / 401.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of SimCode: time 0.003731/0.3906, allocations: 2.489 MB / 404.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of Templates: time 0.02093/0.4116, allocations: 12.19 MB / 416.6 MB, free: 5.504 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGL/DLATREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches