Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.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.001796/0.001796, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002193/0.002193, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.423/1.423, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5094,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop") translateModel(Modelica.Electrical.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5094,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop") [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.001981/0.001981, allocations: 67.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2239, allocations: 53.32 MB / 432.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.003306/0.2272, allocations: 2.172 MB / 434.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.2296, allocations: 1.173 MB / 435.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2297, allocations: 4 kB / 435.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.2299, allocations: 47.56 kB / 435.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2301, allocations: 47.59 kB / 435.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.2305, allocations: 167.8 kB / 435.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.231, allocations: 455.6 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.2312, allocations: 116.9 kB / 436.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008945/0.2321, allocations: 0.8421 MB / 437.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.2325, allocations: 263 kB / 437.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.609e-05/0.2326, allocations: 44 kB / 437.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.2327, allocations: 40 kB / 437.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.2329, allocations: 159.4 kB / 437.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.2331, allocations: 222.8 kB / 437.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008601/0.234, allocations: 0.9244 MB / 438.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.234, allocations: 3.984 kB / 438.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.234, allocations: 0 / 438.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.234, allocations: 3.938 kB / 438.7 MB, free: 0.7383 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001287/0.2353, allocations: 0.8798 MB / 439.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2353, allocations: 8.031 kB / 439.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2354, allocations: 48.66 kB / 439.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.236, allocations: 355.6 kB / 440 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.2361, allocations: 28.97 kB / 440 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.2362, allocations: 36.38 kB / 440 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/0.2371, allocations: 490.1 kB / 440.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2371, allocations: 0 / 440.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.2371, allocations: 16 kB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2372, allocations: 11.94 kB / 440.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.2379, allocations: 378.4 kB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.24, allocations: 1.116 MB / 442 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.2411, allocations: 415.5 kB / 442.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.2414, allocations: 170.2 kB / 442.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.162e-05/0.2415, allocations: 4.281 kB / 442.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006299/0.2421, allocations: 340.8 kB / 442.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.983e-06/0.2421, allocations: 0 / 442.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001512/0.2436, allocations: 0.7345 MB / 443.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.2437, allocations: 114.8 kB / 443.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.244, allocations: 306.5 kB / 444.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/0.2441, allocations: 37.7 kB / 444.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.2443, allocations: 180.9 kB / 444.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.2444, allocations: 91.41 kB / 444.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.2447, allocations: 186 kB / 444.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2449, allocations: 342.8 kB / 444.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.2453, allocations: 180.8 kB / 445.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.2457, allocations: 236.5 kB / 445.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/0.2466, allocations: 0.5098 MB / 445.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2466, allocations: 0 / 445.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001245/0.2479, allocations: 0.6488 MB / 446.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/0.2479, allocations: 67.39 kB / 446.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2479, allocations: 160 / 446.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.248, allocations: 8.031 kB / 446.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2481, allocations: 55.91 kB / 446.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2481, allocations: 11.92 kB / 446.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.2483, allocations: 31.88 kB / 446.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.2486, allocations: 283.7 kB / 446.9 MB, free: 8.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,$PRE.FF.And2.auxiliary_n,FF.RS2.TD1.x_delayed,$PRE.FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.x[2],FF.RS2.Nor2.x[1],$PRE.FF.And4.auxiliary_n,FF.RS1.TD1.x_delayed,$PRE.FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.x[2],FF.RS1.Nor2.x[1],$PRE.FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And4.x[1],FF.And3.auxiliary_n,FF.And3.x[2],$PRE.FF.And1.auxiliary_n,FF.And1.y,FF.RS2.TD1.x,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary[2],K.y,J.y,CLK.t_i,$PRE.CLK.t_i,FF.Not1.auxiliary,$PRE.FF.And3.auxiliary_n,FF.And3.y,FF.And2.auxiliary_n,FF.And2.auxiliary[2],FF.And2.x[1],FF.And1.auxiliary_n,FF.And1.auxiliary[2],FF.And1.x[1],FF.RS1.TD1.x,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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.0003664/0.249, allocations: 289.1 kB / 447.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.2491, allocations: 31.81 kB / 447.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.2491, allocations: 38.89 kB / 447.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2491, allocations: 0 / 447.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2491, allocations: 0 / 447.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.2495, allocations: 200.8 kB / 447.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2496, allocations: 23.94 kB / 447.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2498, allocations: 15.98 kB / 447.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.25, allocations: 87.91 kB / 447.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001259/0.2512, allocations: 0.8005 MB / 448.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001138/0.2524, allocations: 0.7478 MB / 449.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003953/0.2528, allocations: 199.7 kB / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.253, allocations: 201.9 kB / 449.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of Backend: time 6.22e-07/0.253, allocations: 4 kB / 449.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.254, allocations: 470.8 kB / 450 MB, free: 4.953 MB / 350.1 MB Notification: Performance of SimCode: time 0.00194/0.256, allocations: 1.329 MB / 451.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Templates: time 0.01886/0.2748, allocations: 13.45 MB / 464.8 MB, free: 5.727 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/FlipFlop/FlipFlop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.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.347955805249512]