Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 108.3 kB / 18.41 MB, free: 4.695 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.001209/0.001209, allocations: 182.2 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.368/1.368, 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.001266/0.001266, allocations: 55.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08208, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002907/0.08503, allocations: 1.758 MB / 377.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.08711, allocations: 1.014 MB / 378.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.08723, allocations: 4 kB / 378.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.0874, allocations: 35.72 kB / 378.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.08757, allocations: 35.72 kB / 378.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.08789, allocations: 107.8 kB / 378.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.0884, allocations: 451.2 kB / 379.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.08861, allocations: 105.1 kB / 379.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.08958, allocations: 1.041 MB / 380.4 MB, free: 8 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1615/0.2511, allocations: 178.8 kB / 380.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2513, allocations: 34.5 kB / 380.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.2513, allocations: 36.09 kB / 380.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.2515, allocations: 170.3 kB / 380.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.2518, allocations: 320.6 kB / 381.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008866/0.2527, allocations: 1.066 MB / 382.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2527, allocations: 1.375 kB / 382.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2527, allocations: 0 / 382.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.2527, allocations: 0 / 382.2 MB, free: 10.31 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.001196/0.2539, allocations: 1.287 MB / 383.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.254, allocations: 8.875 kB / 383.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.2542, allocations: 84.62 kB / 383.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.2546, allocations: 456.8 kB / 384 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.2547, allocations: 19.02 kB / 384 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.2547, allocations: 23.78 kB / 384 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.2557, allocations: 0.5041 MB / 384.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2557, allocations: 4.5 kB / 384.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.2558, allocations: 12.8 kB / 384.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2558, allocations: 8.609 kB / 384.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.2563, allocations: 360.6 kB / 384.9 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.2575, allocations: 0.848 MB / 385.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.2581, allocations: 0.5118 MB / 386.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.2587, allocations: 0.4919 MB / 386.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2588, allocations: 5.031 kB / 386.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008674/0.2596, allocations: 0.6505 MB / 387.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.726e-06/0.2597, allocations: 3.281 kB / 387.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0024/0.2621, allocations: 1.546 MB / 389 MB, free: 7.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.2622, allocations: 277.7 kB / 389.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.2637, allocations: 1.168 MB / 390.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.2638, allocations: 42.3 kB / 390.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.2638, allocations: 147.2 kB / 390.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.2639, allocations: 83.16 kB / 390.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.2642, allocations: 198.2 kB / 390.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.2643, allocations: 345.7 kB / 391.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.2648, allocations: 343.8 kB / 391.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.2654, allocations: 385.6 kB / 391.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000932/0.2663, allocations: 0.9711 MB / 392.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2663, allocations: 1.062 kB / 392.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001489/0.2678, allocations: 1.132 MB / 394 MB, free: 4.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.2679, allocations: 247.1 kB / 394.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.268, allocations: 0.7031 kB / 394.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.268, allocations: 2.25 kB / 394.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.157e-05/0.268, allocations: 9.094 kB / 394.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.268, allocations: 7.047 kB / 394.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.2683, allocations: 29.83 kB / 394.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2685, allocations: 129.3 kB / 394.4 MB, free: 4.289 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: 40 ($PRE.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.clock,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,data_1.y,reset.y,data_0.y,clock.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 (19): * Single equations (assignments): 12 * 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.000781/0.2693, allocations: 0.7672 MB / 395.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.2694, allocations: 90.97 kB / 395.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.2696, allocations: 155 kB / 395.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2696, allocations: 2.422 kB / 395.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2697, allocations: 0 / 395.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/0.2703, allocations: 0.5634 MB / 396 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.2705, allocations: 60.34 kB / 396.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2708, allocations: 28.55 kB / 396.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/0.2712, allocations: 216.5 kB / 396.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001762/0.2729, allocations: 1.743 MB / 398 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001807/0.2747, allocations: 1.487 MB / 399.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007497/0.2755, allocations: 0.6805 MB / 400.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.2767, allocations: 0.8671 MB / 401.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Backend: time 4.91e-07/0.2767, allocations: 0 / 401.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.2782, allocations: 1.234 MB / 402.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 0.003152/0.2814, allocations: 2.524 MB / 404.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Templates: time 0.0165/0.2979, allocations: 12.65 MB / 417.5 MB, free: 4.648 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches