Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 101 kB / 18.37 MB, free: 4.711 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.001731/0.001731, allocations: 187 kB / 19.3 MB, free: 3.781 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.364/1.364, allocations: 205.1 MB / 225.2 MB, free: 12.23 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: 56.39 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0746/0.07582, allocations: 46.61 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.00275/0.07859, allocations: 1.801 MB / 377.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.08078, allocations: 1.08 MB / 378.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.0809, allocations: 4 kB / 378.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.08108, allocations: 31.72 kB / 378.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.08135, allocations: 183.4 kB / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.0817, allocations: 131.8 kB / 379 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.08236, allocations: 0.6085 MB / 379.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.08258, allocations: 122 kB / 379.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1506/0.2331, allocations: 1.012 MB / 380.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.2336, allocations: 211.8 kB / 380.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.2337, allocations: 48.48 kB / 381 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.2338, allocations: 45.12 kB / 381 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.234, allocations: 258.8 kB / 381.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.2344, allocations: 441.7 kB / 381.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.2359, allocations: 1.475 MB / 383.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.236, allocations: 0 / 383.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.236, allocations: 1.5 kB / 383.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.236, allocations: 0 / 383.2 MB, free: 9.812 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001498/0.2375, allocations: 1.705 MB / 384.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2375, allocations: 8.906 kB / 384.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.2377, allocations: 134.8 kB / 385 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.2383, allocations: 0.5763 MB / 385.6 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.2383, allocations: 25.17 kB / 385.6 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.539e-05/0.2384, allocations: 29.47 kB / 385.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.2395, allocations: 0.6181 MB / 386.3 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2395, allocations: 3.938 kB / 386.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.2396, allocations: 15.75 kB / 386.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.2396, allocations: 3.5 kB / 386.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007047/0.2403, allocations: 485.7 kB / 386.8 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.242, allocations: 1.169 MB / 388 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.2428, allocations: 0.696 MB / 388.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/0.2435, allocations: 0.687 MB / 389.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2436, allocations: 4.625 kB / 389.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000874/0.2444, allocations: 0.7345 MB / 390.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.2445, allocations: 0 / 390.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.002877/0.2473, allocations: 1.892 MB / 392 MB, free: 5.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.2475, allocations: 331.3 kB / 392.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.25, allocations: 1.857 MB / 394.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.2501, allocations: 43.59 kB / 394.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.2503, allocations: 256.8 kB / 394.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.2504, allocations: 71.64 kB / 394.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.2508, allocations: 225.5 kB / 394.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2509, allocations: 381.3 kB / 395.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.2515, allocations: 448.8 kB / 395.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.2522, allocations: 477.5 kB / 396 MB, free: 3.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.2533, allocations: 1.169 MB / 397.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2533, allocations: 1.25 kB / 397.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00166/0.255, allocations: 1.369 MB / 398.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.2552, allocations: 298.1 kB / 398.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2552, allocations: 64 / 398.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2552, allocations: 9.531 kB / 398.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.932e-05/0.2552, allocations: 3.031 kB / 398.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.2553, allocations: 3.047 kB / 398.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.2556, allocations: 36.55 kB / 398.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.2558, allocations: 125.9 kB / 399 MB, free: 2.004 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: 37 ($PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,set.y,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 (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.001079/0.2569, allocations: 0.9978 MB / 400 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.2571, allocations: 131.1 kB / 400.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.2575, allocations: 259.2 kB / 400.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2575, allocations: 0 / 400.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2575, allocations: 1.312 kB / 400.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008632/0.2583, allocations: 0.6774 MB / 401.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.2585, allocations: 60.55 kB / 401.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.2588, allocations: 28.27 kB / 401.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005382/0.2594, allocations: 345.4 kB / 401.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002245/0.2616, allocations: 2.007 MB / 403.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002244/0.2639, allocations: 1.744 MB / 405.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00105/0.265, allocations: 0.9263 MB / 406.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002037/0.267, allocations: 1.341 MB / 407.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.267, allocations: 5.531 kB / 407.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.2689, allocations: 1.535 MB / 409.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 0.004164/0.273, allocations: 3.35 MB / 412.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of Templates: time 0.01916/0.2922, allocations: 14.66 MB / 427.1 MB, free: 10.67 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches