Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00172/0.00172, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002428/0.002428, allocations: 218.4 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.FlipFlop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 376.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3002, allocations: 53.32 MB / 429.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.003629/0.3038, allocations: 2.17 MB / 432 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3065, allocations: 1.165 MB / 433.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.3067, allocations: 4 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3069, allocations: 55.56 kB / 433.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.307, allocations: 43.58 kB / 433.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.3076, allocations: 167.7 kB / 433.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.3081, allocations: 467.6 kB / 433.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.3083, allocations: 108.9 kB / 434 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009983/0.3093, allocations: 0.8344 MB / 434.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.3097, allocations: 267 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.3098, allocations: 40 kB / 435.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.3099, allocations: 44 kB / 435.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.3101, allocations: 159.5 kB / 435.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.3104, allocations: 222.7 kB / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.3113, allocations: 0.9238 MB / 436.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3113, allocations: 0 / 436.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3113, allocations: 3.938 kB / 436.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.3113, allocations: 4 kB / 436.4 MB, free: 0.9102 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.001281/0.3126, allocations: 0.8797 MB / 437.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3126, allocations: 8.031 kB / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.3127, allocations: 52.66 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.3132, allocations: 359.6 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.3133, allocations: 25.03 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.3134, allocations: 36.31 kB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.3143, allocations: 494.1 kB / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3143, allocations: 0 / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.3143, allocations: 16 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3144, allocations: 8 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.3152, allocations: 378.4 kB / 438.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3172, allocations: 1.113 MB / 439.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3182, allocations: 419.5 kB / 440.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.3186, allocations: 169.3 kB / 440.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/0.3187, allocations: 4.281 kB / 440.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007015/0.3194, allocations: 344.1 kB / 440.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.3194, allocations: 0 / 440.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00155/0.3209, allocations: 0.7306 MB / 441.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.321, allocations: 114.8 kB / 441.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.3214, allocations: 306.5 kB / 441.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.3215, allocations: 41.7 kB / 441.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3216, allocations: 180.9 kB / 442.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3217, allocations: 87.34 kB / 442.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/0.322, allocations: 182 kB / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3222, allocations: 342.8 kB / 442.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.3226, allocations: 188.8 kB / 442.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.323, allocations: 236.5 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.3239, allocations: 0.525 MB / 443.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3239, allocations: 0 / 443.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001153/0.325, allocations: 0.6373 MB / 444.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/0.3251, allocations: 63.41 kB / 444.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3251, allocations: 80 / 444.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3251, allocations: 4 kB / 444.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3253, allocations: 63.84 kB / 444.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3253, allocations: 7.969 kB / 444.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.3255, allocations: 27.98 kB / 444.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/0.3258, allocations: 287.7 kB / 444.7 MB, free: 8.34 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.0003767/0.3261, allocations: 281.1 kB / 444.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.3262, allocations: 35.75 kB / 445 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.3263, allocations: 42.95 kB / 445 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3263, allocations: 4 kB / 445 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3263, allocations: 4 kB / 445 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3263, allocations: 3.984 kB / 445 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.327, allocations: 481.2 kB / 445.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.327, allocations: 0 / 445.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.3271, allocations: 51.91 kB / 445.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3271, allocations: 0 / 445.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.784e-05/0.3272, allocations: 51.97 kB / 445.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3272, allocations: 0 / 445.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3272, allocations: 0 / 445.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3283, allocations: 0.6102 MB / 446.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.3285, allocations: 196.8 kB / 446.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.3286, allocations: 15.94 kB / 446.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3288, allocations: 23.98 kB / 446.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.329, allocations: 87.91 kB / 446.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/0.3293, allocations: 283.7 kB / 446.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3295, allocations: 201.9 kB / 447 MB, free: 5.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3295, allocations: 0 / 447 MB, free: 5.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.3298, allocations: 103.8 kB / 447.1 MB, free: 5.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition1,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.x[1],FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,FF.Not1.auxiliary,CLK.t_i,J.y,K.y) * Number of discrete states: 13 (FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,K.y,J.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002116/0.33, allocations: 145.8 kB / 447.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009813/0.331, allocations: 0.5416 MB / 447.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.331, allocations: 0 / 447.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.3315, allocations: 346.5 kB / 448.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.3327, allocations: 338.4 kB / 448.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.334, allocations: 0.712 MB / 449.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.3345, allocations: 0.8111 MB / 450 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001392/0.3359, allocations: 0.7471 MB / 450.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/0.3366, allocations: 266.8 kB / 451 MB, free: 1.809 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3366, allocations: 7.938 kB / 451 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Templates: time 0.01817/0.3548, allocations: 10.99 MB / 462 MB, free: 6.652 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/FlipFlop/FlipFlop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.841531491838396]