Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.84 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2158, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002934/0.2187, allocations: 1.791 MB / 433.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.2209, allocations: 1.01 MB / 434.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.2209, allocations: 4 kB / 434.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2211, allocations: 27.78 kB / 434.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.2212, allocations: 47.7 kB / 434.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.2215, allocations: 99.83 kB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.222, allocations: 423.2 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2222, allocations: 65.16 kB / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.2233, allocations: 1.033 MB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.2236, allocations: 203.2 kB / 436.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.2236, allocations: 36 kB / 436.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.2237, allocations: 36 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.2239, allocations: 159.4 kB / 437 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.2242, allocations: 313.9 kB / 437.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.2253, allocations: 1.083 MB / 438.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2253, allocations: 0 / 438.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2253, allocations: 0 / 438.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.2253, allocations: 0 / 438.4 MB, free: 1.059 MB / 334.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.001491/0.2268, allocations: 1.31 MB / 439.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2268, allocations: 12.03 kB / 439.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.227, allocations: 92.38 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.2276, allocations: 460.7 kB / 440.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.2276, allocations: 20.38 kB / 440.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.209e-05/0.2277, allocations: 28.31 kB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.2286, allocations: 0.5103 MB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2286, allocations: 0 / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/0.2287, allocations: 12 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2287, allocations: 4 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.2293, allocations: 364.1 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2307, allocations: 0.8519 MB / 442 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.2314, allocations: 386.3 kB / 442.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.232, allocations: 364.6 kB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.232, allocations: 4 kB / 442.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009175/0.2329, allocations: 0.6439 MB / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.2329, allocations: 3.938 kB / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002467/0.2354, allocations: 1.55 MB / 444.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/0.2356, allocations: 287.2 kB / 445.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.2372, allocations: 1.172 MB / 446.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.2373, allocations: 41.7 kB / 446.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2374, allocations: 150 kB / 446.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2375, allocations: 79.42 kB / 446.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.2378, allocations: 209.3 kB / 446.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2379, allocations: 342.8 kB / 447.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.2385, allocations: 344.1 kB / 447.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.2391, allocations: 383 kB / 447.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.2403, allocations: 0.9671 MB / 448.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2403, allocations: 0 / 448.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001686/0.242, allocations: 1.137 MB / 450 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.2422, allocations: 239.9 kB / 450.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2422, allocations: 4.062 kB / 450.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2422, allocations: 4 kB / 450.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.467e-05/0.2422, allocations: 3.938 kB / 450.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2422, allocations: 7.938 kB / 450.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.2425, allocations: 35.92 kB / 450.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.2426, allocations: 128.2 kB / 450.4 MB, free: 4.41 MB / 350.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.0008689/0.2435, allocations: 0.7602 MB / 451.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.2436, allocations: 91.48 kB / 451.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.2439, allocations: 147.7 kB / 451.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.2439, allocations: 0 / 451.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2439, allocations: 3.938 kB / 451.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009556/0.2448, allocations: 0.5779 MB / 452 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.245, allocations: 59.97 kB / 452.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2452, allocations: 31.95 kB / 452.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003855/0.2456, allocations: 219.8 kB / 452.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00215/0.2478, allocations: 1.742 MB / 454 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002035/0.2498, allocations: 1.502 MB / 455.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006321/0.2504, allocations: 395.7 kB / 455.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.2516, allocations: 0.8616 MB / 456.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Backend: time 3.71e-07/0.2516, allocations: 3.938 kB / 456.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.2531, allocations: 0.9461 MB / 457.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 0.003115/0.2562, allocations: 2.531 MB / 460.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01813/0.2743, allocations: 12.79 MB / 473.1 MB, free: 13.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.211743643973023]