Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001071/0.001071, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009717/0.0009717, allocations: 55.91 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2325, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.002801/0.2353, allocations: 1.801 MB / 403.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2374, allocations: 1.033 MB / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.735e-05/0.2375, allocations: 0 / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2377, allocations: 31.72 kB / 404.3 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.2379, allocations: 179.5 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.2383, allocations: 143.8 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.2388, allocations: 0.6123 MB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.2391, allocations: 122 kB / 405.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009481/0.24, allocations: 1.111 MB / 406.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.2403, allocations: 203.2 kB / 406.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.2404, allocations: 44 kB / 406.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2406, allocations: 44 kB / 406.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.2408, allocations: 258.9 kB / 407 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.2411, allocations: 444.9 kB / 407.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.2422, allocations: 1.461 MB / 408.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2422, allocations: 0 / 408.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2422, allocations: 0 / 408.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.2422, allocations: 0 / 408.9 MB, free: 1.398 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.001646/0.2439, allocations: 1.704 MB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2439, allocations: 8.031 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.2441, allocations: 135.3 kB / 410.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.2448, allocations: 0.5793 MB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.2448, allocations: 20.38 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.2449, allocations: 32.38 kB / 411.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.2459, allocations: 0.6147 MB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.246, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.246, allocations: 24 kB / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.246, allocations: 4 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.2467, allocations: 475.6 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2485, allocations: 1.158 MB / 413.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.2493, allocations: 0.6975 MB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.2501, allocations: 0.6919 MB / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.2501, allocations: 0 / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009082/0.2511, allocations: 0.7446 MB / 415.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 4.218e-06/0.2511, allocations: 3.984 kB / 415.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002593/0.2537, allocations: 1.891 MB / 417.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.2539, allocations: 329.1 kB / 418 MB, free: 7.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.2562, allocations: 1.854 MB / 419.8 MB, free: 6.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.2563, allocations: 45.69 kB / 419.9 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.2566, allocations: 258.3 kB / 420.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2567, allocations: 75.14 kB / 420.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.257, allocations: 220.8 kB / 420.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2572, allocations: 378.7 kB / 420.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.2578, allocations: 455.7 kB / 421.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.2585, allocations: 475.5 kB / 421.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2597, allocations: 1.181 MB / 422.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2597, allocations: 0 / 422.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001756/0.2614, allocations: 1.361 MB / 424.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.2616, allocations: 293.5 kB / 424.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2617, allocations: 7.938 kB / 424.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2617, allocations: 3.984 kB / 424.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.742e-05/0.2617, allocations: 0 / 424.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2617, allocations: 7.938 kB / 424.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.2621, allocations: 43.94 kB / 424.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.2622, allocations: 120.2 kB / 424.7 MB, free: 0.9258 MB / 334.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.dLATREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.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.001106/0.2633, allocations: 0.9881 MB / 425.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.2635, allocations: 130.5 kB / 425.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.2639, allocations: 251.8 kB / 426 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2639, allocations: 4 kB / 426.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2639, allocations: 4 kB / 426.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.2649, allocations: 0.6823 MB / 426.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.2651, allocations: 59.97 kB / 426.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.2654, allocations: 27.97 kB / 426.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005311/0.2659, allocations: 351.7 kB / 427.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002159/0.2681, allocations: 2.005 MB / 429.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002095/0.2702, allocations: 1.732 MB / 430.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009847/0.2712, allocations: 0.9371 MB / 431.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.2731, allocations: 1.337 MB / 433.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.2731, allocations: 0 / 433.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.275, allocations: 1.536 MB / 434.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of SimCode: time 0.004/0.2791, allocations: 3.351 MB / 438.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of Templates: time 0.02052/0.2996, allocations: 14.69 MB / 452.8 MB, free: 4.035 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches