Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001088/0.001088, allocations: 103.1 kB / 18.4 MB, free: 4.656 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.001116/0.001117, allocations: 188.5 kB / 19.33 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.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.00134/0.00134, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07957/0.08091, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.002897/0.08384, allocations: 1.793 MB / 377.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.08609, allocations: 1.077 MB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.08624, allocations: 4 kB / 378.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.08645, allocations: 31.72 kB / 378.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.08674, allocations: 183.5 kB / 378.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.08711, allocations: 131.8 kB / 379 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00068/0.0878, allocations: 0.6162 MB / 379.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.08805, allocations: 118 kB / 379.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1598/0.2479, allocations: 1.119 MB / 380.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.2482, allocations: 200.5 kB / 381.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.571e-05/0.2483, allocations: 43.62 kB / 381.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.2484, allocations: 44.03 kB / 381.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.2486, allocations: 266.9 kB / 381.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.249, allocations: 433.8 kB / 381.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.2506, allocations: 1.465 MB / 383.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2506, allocations: 1.406 kB / 383.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2506, allocations: 0 / 383.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.2506, allocations: 0 / 383.3 MB, free: 9.926 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.001718/0.2524, allocations: 1.706 MB / 385 MB, free: 8.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.2524, allocations: 9.062 kB / 385 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2526, allocations: 134 kB / 385.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.2531, allocations: 0.5738 MB / 385.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.2532, allocations: 20.17 kB / 385.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.2533, allocations: 33.12 kB / 385.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.2545, allocations: 0.6145 MB / 386.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2545, allocations: 5.469 kB / 386.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.2546, allocations: 16.31 kB / 386.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2546, allocations: 1.844 kB / 386.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007399/0.2553, allocations: 486.1 kB / 386.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.2573, allocations: 1.167 MB / 388.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.2582, allocations: 0.6973 MB / 388.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/0.259, allocations: 0.6839 MB / 389.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.259, allocations: 1.25 kB / 389.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009398/0.26, allocations: 0.7476 MB / 390.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.26, allocations: 3.703 kB / 390.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.002639/0.2626, allocations: 1.886 MB / 392.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.2628, allocations: 334.5 kB / 392.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.2655, allocations: 1.852 MB / 394.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.2656, allocations: 39.59 kB / 394.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.2658, allocations: 254 kB / 394.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.2659, allocations: 74.52 kB / 394.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.2662, allocations: 228.8 kB / 394.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2663, allocations: 377.2 kB / 395.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.267, allocations: 450.9 kB / 395.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.2676, allocations: 489.9 kB / 396.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2687, allocations: 1.163 MB / 397.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2687, allocations: 0 / 397.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001662/0.2704, allocations: 1.369 MB / 398.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.2706, allocations: 299.6 kB / 399 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2706, allocations: 5.281 kB / 399 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2706, allocations: 4.938 kB / 399 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-05/0.2706, allocations: 5.625 kB / 399 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2707, allocations: 1.094 kB / 399 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.271, allocations: 36.97 kB / 399 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.2712, allocations: 130 kB / 399.1 MB, free: 2.059 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.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.001055/0.2722, allocations: 0.9878 MB / 400.1 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.2724, allocations: 135.2 kB / 400.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.2728, allocations: 253.9 kB / 400.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2728, allocations: 2.062 kB / 400.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2728, allocations: 0 / 400.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008259/0.2736, allocations: 0.6788 MB / 401.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.2738, allocations: 60.28 kB / 401.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.2741, allocations: 28.67 kB / 401.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005046/0.2746, allocations: 347.4 kB / 401.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002181/0.2768, allocations: 2.015 MB / 403.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002215/0.279, allocations: 1.741 MB / 405.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001067/0.2801, allocations: 0.9187 MB / 406.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.282, allocations: 1.349 MB / 407.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.282, allocations: 3.938 kB / 407.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.2838, allocations: 1.533 MB / 409.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of SimCode: time 0.004157/0.288, allocations: 3.346 MB / 412.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01911/0.3071, allocations: 14.67 MB / 427.2 MB, free: 10.57 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches