Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.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.001502/0.001502, allocations: 114 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.001682/0.001682, allocations: 214.1 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.417/1.417, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG") [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.003048/0.003048, allocations: 71.89 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2623, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002915/0.2652, allocations: 1.782 MB / 433.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2673, allocations: 1.006 MB / 434.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.2674, allocations: 3.938 kB / 434.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.2676, allocations: 31.77 kB / 434.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.2677, allocations: 43.72 kB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.268, allocations: 107.8 kB / 435 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.2684, allocations: 419.3 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2686, allocations: 57.17 kB / 435.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2697, allocations: 1.045 MB / 436.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.27, allocations: 199.2 kB / 436.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.332e-05/0.2701, allocations: 32 kB / 436.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.2702, allocations: 36 kB / 436.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.2703, allocations: 167.3 kB / 437 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.2707, allocations: 321.9 kB / 437.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2717, allocations: 1.072 MB / 438.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2717, allocations: 0 / 438.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2717, allocations: 0 / 438.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2717, allocations: 0 / 438.3 MB, free: 1.047 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001494/0.2732, allocations: 1.31 MB / 439.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2732, allocations: 8.031 kB / 439.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.2734, allocations: 92.38 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.274, allocations: 460.7 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.274, allocations: 20.36 kB / 440.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.2741, allocations: 24.38 kB / 440.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.275, allocations: 0.5064 MB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.275, allocations: 3.984 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.2751, allocations: 15.94 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2751, allocations: 8 kB / 440.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.2757, allocations: 360.1 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2771, allocations: 0.8596 MB / 442 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.2777, allocations: 374.3 kB / 442.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.2783, allocations: 368.6 kB / 442.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.2783, allocations: 0 / 442.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009183/0.2792, allocations: 0.6478 MB / 443.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.2792, allocations: 0 / 443.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002511/0.2818, allocations: 1.546 MB / 444.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/0.282, allocations: 287.2 kB / 445.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.2836, allocations: 1.172 MB / 446.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.2837, allocations: 41.64 kB / 446.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2838, allocations: 154.1 kB / 446.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.2839, allocations: 83.41 kB / 446.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.2842, allocations: 201.3 kB / 446.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2844, allocations: 342.8 kB / 447.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.285, allocations: 356 kB / 447.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.2856, allocations: 375 kB / 447.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2868, allocations: 0.9749 MB / 448.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2868, allocations: 0 / 448.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001715/0.2885, allocations: 1.133 MB / 450 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.2888, allocations: 242.7 kB / 450.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2888, allocations: 7.984 kB / 450.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2888, allocations: 0 / 450.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.948e-05/0.2888, allocations: 4 kB / 450.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2888, allocations: 3.938 kB / 450.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.2891, allocations: 36 kB / 450.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.2893, allocations: 132.2 kB / 450.4 MB, free: 4.402 MB / 350.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: 40 ($PRE.dFFREG.delay.inertialDelaySensitive[2].y,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataIn[1],dFFREG.dFFR.clock,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,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 (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0009164/0.2902, allocations: 0.764 MB / 451.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2903, allocations: 91.48 kB / 451.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.2905, allocations: 143.7 kB / 451.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2906, allocations: 8 kB / 451.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2906, allocations: 7.922 kB / 451.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009944/0.2916, allocations: 0.5702 MB / 452 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.2917, allocations: 55.97 kB / 452 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.292, allocations: 31.97 kB / 452.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/0.2924, allocations: 215.8 kB / 452.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002213/0.2946, allocations: 1.742 MB / 454 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002083/0.2967, allocations: 1.502 MB / 455.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006587/0.2973, allocations: 399.7 kB / 455.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.2986, allocations: 0.8693 MB / 456.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Backend: time 3.01e-07/0.2986, allocations: 0 / 456.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.3001, allocations: 0.9432 MB / 457.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 0.003362/0.3034, allocations: 2.529 MB / 460.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of Templates: time 0.01849/0.3219, allocations: 12.78 MB / 473 MB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DFFREG/DFFREG.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREG.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.291528176050633]