Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.001824/0.001824, allocations: 112.6 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.002289/0.002289, allocations: 212.2 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.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL") [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.001873/0.001873, allocations: 75.81 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2073, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.002972/0.2103, allocations: 1.845 MB / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.2126, allocations: 1.076 MB / 435 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.2127, allocations: 4 kB / 435 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.2129, allocations: 31.7 kB / 435 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.2132, allocations: 179.5 kB / 435.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.2135, allocations: 139.8 kB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006528/0.2141, allocations: 0.5655 MB / 435.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.2143, allocations: 70 kB / 436 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.2157, allocations: 1.392 MB / 437.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.2161, allocations: 231.1 kB / 437.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/0.2162, allocations: 47.94 kB / 437.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.2163, allocations: 44 kB / 437.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.2165, allocations: 250.9 kB / 437.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.2169, allocations: 441 kB / 438.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.2183, allocations: 1.484 MB / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2183, allocations: 4 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2183, allocations: 3.938 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.2183, allocations: 0 / 439.8 MB, free: 15.57 MB / 350.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.002/0.2203, allocations: 1.733 MB / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2204, allocations: 8.031 kB / 441.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.2206, allocations: 136.1 kB / 441.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007905/0.2214, allocations: 0.5764 MB / 442.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.2214, allocations: 28.36 kB / 442.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.2215, allocations: 28.38 kB / 442.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2226, allocations: 0.6186 MB / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2226, allocations: 0 / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.2227, allocations: 19.98 kB / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2227, allocations: 0 / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.2234, allocations: 459.6 kB / 443.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2252, allocations: 1.072 MB / 444.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.226, allocations: 478.3 kB / 445 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.2268, allocations: 472.5 kB / 445.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2268, allocations: 4.078 kB / 445.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.2279, allocations: 0.7528 MB / 446.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.415e-06/0.2279, allocations: 0 / 446.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002971/0.2308, allocations: 1.885 MB / 448.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002361/0.2311, allocations: 329 kB / 448.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.2337, allocations: 1.829 MB / 450.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.2338, allocations: 49.69 kB / 450.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.2341, allocations: 234.5 kB / 450.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.2342, allocations: 87.38 kB / 450.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.2346, allocations: 237.2 kB / 450.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.2348, allocations: 382.7 kB / 451.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/0.2355, allocations: 439.7 kB / 451.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/0.2362, allocations: 482.3 kB / 452.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.2376, allocations: 1.169 MB / 453.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2376, allocations: 4 kB / 453.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002012/0.2396, allocations: 1.346 MB / 454.6 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.2398, allocations: 293.5 kB / 454.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2399, allocations: 0 / 454.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2399, allocations: 8.062 kB / 454.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.987e-05/0.2399, allocations: 8 kB / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2399, allocations: 3.938 kB / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.2402, allocations: 39.86 kB / 455 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.2404, allocations: 131.9 kB / 455.1 MB, free: 15.67 MB / 366.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: 43 ($PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.clock,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,set.y,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 (22): * Single equations (assignments): 14 * 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.001228/0.2416, allocations: 0.9947 MB / 456.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.2418, allocations: 143.1 kB / 456.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.2422, allocations: 251.6 kB / 456.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2422, allocations: 0 / 456.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2422, allocations: 3.938 kB / 456.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.2434, allocations: 0.6832 MB / 457.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.2436, allocations: 59.97 kB / 457.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.2438, allocations: 31.97 kB / 457.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005463/0.2444, allocations: 319.8 kB / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002532/0.2469, allocations: 2.016 MB / 459.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002394/0.2493, allocations: 1.755 MB / 461.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008005/0.2501, allocations: 495.7 kB / 461.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002015/0.2521, allocations: 1.329 MB / 463.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of Backend: time 2.4e-07/0.2521, allocations: 0 / 463.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.2539, allocations: 1.125 MB / 464.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of SimCode: time 0.004351/0.2582, allocations: 3.335 MB / 467.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of Templates: time 0.02434/0.2826, allocations: 15.84 MB / 483.4 MB, free: 2.484 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.3856987142935395]