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.001896/0.001896, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002369/0.002369, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.538/1.538, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002035/0.002035, allocations: 60.09 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 53.42 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.003798/0.2988, allocations: 1.997 MB / 433.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3015, allocations: 1.099 MB / 434.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3016, allocations: 4 kB / 434.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3018, allocations: 51.5 kB / 434.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3019, allocations: 43.64 kB / 434.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.3025, allocations: 179.7 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.3031, allocations: 471.6 kB / 435.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.3033, allocations: 109.3 kB / 435.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009712/0.3043, allocations: 0.8344 MB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.3047, allocations: 258.9 kB / 436.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3048, allocations: 40 kB / 436.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3049, allocations: 44 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.3051, allocations: 155.5 kB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.3054, allocations: 171.1 kB / 437.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009197/0.3063, allocations: 0.9364 MB / 438 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3063, allocations: 0 / 438 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3063, allocations: 4 kB / 438 MB, free: 140 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3063, allocations: 0 / 438 MB, free: 140 kB / 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.001282/0.3076, allocations: 0.8044 MB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3076, allocations: 15.98 kB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3078, allocations: 48.66 kB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.3083, allocations: 285.3 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.3084, allocations: 32.97 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.682e-05/0.3085, allocations: 28.38 kB / 439.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/0.3094, allocations: 0.5366 MB / 439.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3094, allocations: 4 kB / 439.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.3095, allocations: 12 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3095, allocations: 8 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.3103, allocations: 441.7 kB / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.3124, allocations: 0.9458 MB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3136, allocations: 474.2 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.314, allocations: 217.3 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/0.314, allocations: 4.281 kB / 441.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008079/0.3148, allocations: 402.7 kB / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.876e-06/0.3148, allocations: 0 / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001657/0.3165, allocations: 0.8358 MB / 443 MB, free: 10.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/0.3166, allocations: 110.8 kB / 443.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.317, allocations: 305.7 kB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.3171, allocations: 45.64 kB / 443.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3173, allocations: 192.8 kB / 443.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3174, allocations: 79.48 kB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.3177, allocations: 182 kB / 443.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3179, allocations: 342.8 kB / 444.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.3183, allocations: 244.1 kB / 444.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.3188, allocations: 292 kB / 444.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008782/0.3197, allocations: 0.5133 MB / 445.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3197, allocations: 8 kB / 445.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001255/0.3209, allocations: 0.6952 MB / 446 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.321, allocations: 67.39 kB / 446.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.321, allocations: 7.938 kB / 446.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.321, allocations: 0 / 446.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3212, allocations: 55.91 kB / 446.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.3212, allocations: 7.984 kB / 446.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3215, allocations: 27.89 kB / 446.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/0.3218, allocations: 287.8 kB / 446.5 MB, free: 7.262 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.0004134/0.3222, allocations: 281.1 kB / 446.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.3223, allocations: 31.81 kB / 446.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.3224, allocations: 38.95 kB / 446.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3224, allocations: 4 kB / 446.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3224, allocations: 4 kB / 446.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3224, allocations: 3.984 kB / 446.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.3229, allocations: 353 kB / 447.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3229, allocations: 7.875 kB / 447.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.323, allocations: 51.97 kB / 447.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.323, allocations: 0 / 447.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/0.3231, allocations: 47.97 kB / 447.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3231, allocations: 0 / 447.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3231, allocations: 0 / 447.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3242, allocations: 0.6682 MB / 447.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.3246, allocations: 127.7 kB / 448.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.836e-05/0.3247, allocations: 12 kB / 448.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3248, allocations: 23.98 kB / 448.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.325, allocations: 79.91 kB / 448.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/0.3253, allocations: 283.7 kB / 448.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.3256, allocations: 205.2 kB / 448.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3256, allocations: 0 / 448.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.326, allocations: 99.84 kB / 448.7 MB, free: 4.879 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.0001958/0.3262, allocations: 138.5 kB / 448.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3273, allocations: 0.6483 MB / 449.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3273, allocations: 0 / 449.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.3278, allocations: 410.2 kB / 449.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3291, allocations: 331.7 kB / 450.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3306, allocations: 0.7691 MB / 451 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3308, allocations: 200.2 kB / 451.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001493/0.3323, allocations: 0.7549 MB / 452 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007881/0.3331, allocations: 258.8 kB / 452.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3331, allocations: 4 kB / 452.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of Templates: time 0.01887/0.352, allocations: 11.69 MB / 463.9 MB, free: 5.496 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.954215157777071]