Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.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.00157/0.00157, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001803/0.001803, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.469/1.469, allocations: 230.5 MB / 255.4 MB, free: 15 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") [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.001892/0.001892, allocations: 67.89 kB / 374.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1081, allocations: 53.31 MB / 428 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003151/0.1112, allocations: 1.528 MB / 429.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1132, allocations: 0.881 MB / 430.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.1132, allocations: 0 / 430.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.126e-05/0.1133, allocations: 11.86 kB / 430.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.1134, allocations: 23.84 kB / 430.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1137, allocations: 47.89 kB / 430.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.1139, allocations: 135.7 kB / 430.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.114, allocations: 12.22 kB / 430.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006892/0.1147, allocations: 0.5771 MB / 431.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1149, allocations: 75.69 kB / 431.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.1149, allocations: 8 kB / 431.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.461e-05/0.1149, allocations: 16 kB / 431.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.115, allocations: 59.77 kB / 431.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1152, allocations: 119.1 kB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.1156, allocations: 374.4 kB / 431.9 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1156, allocations: 3.938 kB / 431.9 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1156, allocations: 0 / 431.9 MB, free: 484 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1156, allocations: 0 / 431.9 MB, free: 484 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.2045/0.3201, allocations: 0.7314 MB / 432.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3201, allocations: 9.656 kB / 432.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.3202, allocations: 39.08 kB / 432.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3205, allocations: 278.9 kB / 433 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3205, allocations: 5.781 kB / 433 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.3205, allocations: 9.484 kB / 433 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.3209, allocations: 130.4 kB / 433.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3209, allocations: 0 / 433.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.3209, allocations: 10.86 kB / 433.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3209, allocations: 1.094 kB / 433.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.3211, allocations: 60.22 kB / 433.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.3217, allocations: 459.3 kB / 433.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3219, allocations: 75.08 kB / 433.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.322, allocations: 64.61 kB / 433.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.322, allocations: 4.75 kB / 433.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.3223, allocations: 209.5 kB / 434 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3223, allocations: 0 / 434 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007556/0.3231, allocations: 488 kB / 434.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3232, allocations: 167.8 kB / 434.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.3237, allocations: 0.5114 MB / 435.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3237, allocations: 30.66 kB / 435.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.3237, allocations: 99.45 kB / 435.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.3238, allocations: 35.48 kB / 435.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3239, allocations: 86.16 kB / 435.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.3239, allocations: 326.4 kB / 435.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.324, allocations: 54.72 kB / 435.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3242, allocations: 80.98 kB / 435.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3244, allocations: 339.4 kB / 436.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3244, allocations: 1.156 kB / 436.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004759/0.3249, allocations: 390.2 kB / 436.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.325, allocations: 126.5 kB / 436.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.325, allocations: 1.562 kB / 436.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.325, allocations: 3.125 kB / 436.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.13e-05/0.325, allocations: 7.797 kB / 436.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.325, allocations: 1.625 kB / 436.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3251, allocations: 7.781 kB / 436.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.3252, allocations: 56.41 kB / 436.7 MB, free: 9.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002501/0.3254, allocations: 366.7 kB / 437.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.3255, allocations: 44.45 kB / 437.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.929e-05/0.3256, allocations: 64.27 kB / 437.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.3256, allocations: 1.25 kB / 437.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3256, allocations: 3.531 kB / 437.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3256, allocations: 0 / 437.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008394/0.3264, allocations: 0.8245 MB / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3264, allocations: 0 / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-06/0.3264, allocations: 4.156 kB / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3264, allocations: 2.844 kB / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.3265, allocations: 14.23 kB / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3265, allocations: 1.219 kB / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3265, allocations: 0.5 kB / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.3271, allocations: 0.5454 MB / 438.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.3273, allocations: 247.1 kB / 438.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.3274, allocations: 11.03 kB / 438.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3275, allocations: 12.72 kB / 438.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3276, allocations: 20.31 kB / 438.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.3277, allocations: 67.3 kB / 438.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004058/0.3281, allocations: 387.6 kB / 439.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3281, allocations: 1.219 kB / 439.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3284, allocations: 44.91 kB / 439.4 MB, free: 7.473 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0001275/0.3285, allocations: 118.7 kB / 439.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.3289, allocations: 378.2 kB / 439.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3289, allocations: 0 / 439.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.3291, allocations: 305.1 kB / 440.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.3298, allocations: 124.6 kB / 440.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/0.3307, allocations: 0.7019 MB / 441 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.331, allocations: 0.8004 MB / 441.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.331, allocations: 16.61 kB / 441.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.331, allocations: 0 / 441.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of Templates: time 0.005414/0.3365, allocations: 2.683 MB / 444.5 MB, free: 5.301 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.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: 7.5493684818502516]