Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.001265/0.001265, allocations: 111.3 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.00138/0.00138, allocations: 212.8 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.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH") [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.002052/0.002052, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2138, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.00303/0.2168, allocations: 1.841 MB / 433.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2191, allocations: 1.068 MB / 435 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.2192, allocations: 3.938 kB / 435 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.2194, allocations: 35.7 kB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.2197, allocations: 175.5 kB / 435.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.22, allocations: 139.8 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.2207, allocations: 0.5655 MB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2208, allocations: 78 kB / 436 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.2223, allocations: 1.396 MB / 437.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.2226, allocations: 227.2 kB / 437.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.2227, allocations: 40 kB / 437.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.2228, allocations: 44 kB / 437.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.2231, allocations: 254.9 kB / 437.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.2235, allocations: 441 kB / 438.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.2249, allocations: 1.468 MB / 439.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2249, allocations: 0 / 439.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2249, allocations: 0 / 439.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2249, allocations: 0 / 439.8 MB, free: 15.59 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.002031/0.227, allocations: 1.725 MB / 441.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.227, allocations: 8.031 kB / 441.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.2272, allocations: 144 kB / 441.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008031/0.228, allocations: 0.5802 MB / 442.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.228, allocations: 20.38 kB / 442.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.2281, allocations: 32.31 kB / 442.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2293, allocations: 0.6225 MB / 442.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2293, allocations: 0 / 442.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.2294, allocations: 19.98 kB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2294, allocations: 8 kB / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.2301, allocations: 463.6 kB / 443.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.232, allocations: 1.076 MB / 444.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.2328, allocations: 474.3 kB / 444.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/0.2335, allocations: 464.6 kB / 445.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.2335, allocations: 4 kB / 445.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.2346, allocations: 0.7489 MB / 446.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.2346, allocations: 0 / 446.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002992/0.2376, allocations: 1.892 MB / 448 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002408/0.2378, allocations: 329 kB / 448.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.2405, allocations: 1.821 MB / 450.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.2406, allocations: 49.69 kB / 450.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.2409, allocations: 238.5 kB / 450.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.241, allocations: 95.31 kB / 450.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.2414, allocations: 241.2 kB / 450.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.2416, allocations: 374.7 kB / 451.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007221/0.2423, allocations: 439.7 kB / 451.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.243, allocations: 482.3 kB / 452.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.2445, allocations: 1.169 MB / 453.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2445, allocations: 4 kB / 453.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002054/0.2465, allocations: 1.353 MB / 454.6 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.2468, allocations: 289.5 kB / 454.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2468, allocations: 4 kB / 454.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2468, allocations: 0 / 454.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.189e-05/0.2468, allocations: 7.984 kB / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2468, allocations: 0 / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.2472, allocations: 40 kB / 454.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.2473, allocations: 131.9 kB / 455.1 MB, free: 15.68 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.dFFREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.clock,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.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.001261/0.2486, allocations: 0.9908 MB / 456 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.2488, allocations: 143.1 kB / 456.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.2492, allocations: 247.6 kB / 456.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2492, allocations: 7.984 kB / 456.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2492, allocations: 4 kB / 456.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.2504, allocations: 0.6792 MB / 457.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.2506, allocations: 59.97 kB / 457.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.2509, allocations: 35.97 kB / 457.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/0.2514, allocations: 323.8 kB / 457.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002537/0.254, allocations: 2.016 MB / 459.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002447/0.2564, allocations: 1.759 MB / 461.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007972/0.2572, allocations: 498.8 kB / 461.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.2592, allocations: 1.325 MB / 463.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.2592, allocations: 0 / 463.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.261, allocations: 1.122 MB / 464.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of SimCode: time 0.004385/0.2654, allocations: 3.333 MB / 467.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of Templates: time 0.02437/0.2898, allocations: 15.85 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.DFFREGSRH.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DFFREGSRH/DFFREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.296242950949818]