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.001113/0.001113, allocations: 107.1 kB / 18.4 MB, free: 4.652 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.001128/0.001128, allocations: 188.5 kB / 19.34 MB, free: 3.727 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.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001205/0.001205, allocations: 44.41 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06946/0.07068, allocations: 46.63 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002588/0.07329, allocations: 1.738 MB / 377.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.07526, allocations: 1.01 MB / 378.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.07536, allocations: 4 kB / 378.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.07553, allocations: 35.72 kB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.07567, allocations: 35.78 kB / 378.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.07595, allocations: 107.8 kB / 378.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.07645, allocations: 455.2 kB / 379.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.07665, allocations: 105.1 kB / 379.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007343/0.0774, allocations: 0.7837 MB / 380.1 MB, free: 288 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.07765, allocations: 175.3 kB / 380.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.07776, allocations: 36 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.07786, allocations: 36 kB / 380.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1438/0.2217, allocations: 167.6 kB / 380.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.2221, allocations: 304.6 kB / 380.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.2231, allocations: 1.064 MB / 381.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2231, allocations: 0 / 381.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2232, allocations: 1.25 kB / 381.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.2232, allocations: 0 / 381.9 MB, free: 10.34 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.001552/0.2247, allocations: 1.293 MB / 383.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2248, allocations: 13.41 kB / 383.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.2249, allocations: 88.42 kB / 383.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.2254, allocations: 456.8 kB / 383.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.2255, allocations: 20.84 kB / 383.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.2256, allocations: 25.59 kB / 383.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009837/0.2265, allocations: 0.4993 MB / 384.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2266, allocations: 3.938 kB / 384.2 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.2266, allocations: 12.94 kB / 384.3 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2266, allocations: 2.469 kB / 384.3 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005492/0.2272, allocations: 370.2 kB / 384.6 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.2286, allocations: 0.9155 MB / 385.5 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.2292, allocations: 0.4983 MB / 386 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.2298, allocations: 0.4908 MB / 386.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2298, allocations: 4.766 kB / 386.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000758/0.2305, allocations: 0.6334 MB / 387.2 MB, free: 8.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.2306, allocations: 112 / 387.2 MB, free: 8.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00215/0.2327, allocations: 1.528 MB / 388.7 MB, free: 7.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.2328, allocations: 278.8 kB / 389 MB, free: 7.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.2343, allocations: 1.154 MB / 390.1 MB, free: 6.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.2343, allocations: 46.56 kB / 390.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.2344, allocations: 150.6 kB / 390.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.2345, allocations: 75.17 kB / 390.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.2348, allocations: 191 kB / 390.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.2348, allocations: 339.5 kB / 390.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.2353, allocations: 341.5 kB / 391.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.2358, allocations: 380.8 kB / 391.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008975/0.2367, allocations: 0.9755 MB / 392.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2367, allocations: 1 kB / 392.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001399/0.2381, allocations: 1.12 MB / 393.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.2382, allocations: 252.7 kB / 393.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2383, allocations: 1.125 kB / 393.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2383, allocations: 2.094 kB / 393.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-05/0.2383, allocations: 9.641 kB / 394 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2383, allocations: 1.828 kB / 394 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.2386, allocations: 34.05 kB / 394 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.2387, allocations: 125.2 kB / 394.1 MB, free: 4.34 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.0007176/0.2395, allocations: 0.7679 MB / 394.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2396, allocations: 95.12 kB / 395 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.2398, allocations: 154.2 kB / 395.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2398, allocations: 4.594 kB / 395.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2398, allocations: 0 / 395.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/0.2406, allocations: 0.5613 MB / 395.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.2407, allocations: 61.44 kB / 395.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.2409, allocations: 25.12 kB / 395.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/0.2413, allocations: 211.3 kB / 396 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001681/0.243, allocations: 1.712 MB / 397.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001693/0.2447, allocations: 1.479 MB / 399.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007186/0.2454, allocations: 0.7062 MB / 399.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001117/0.2466, allocations: 0.8561 MB / 400.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of Backend: time 3.4e-07/0.2466, allocations: 0 / 400.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.248, allocations: 1.242 MB / 402 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 0.00306/0.251, allocations: 2.519 MB / 404.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of Templates: time 0.01622/0.2673, allocations: 11.97 MB / 416.5 MB, free: 5.602 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