Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001351/0.001351, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.001476/0.001476, allocations: 214 kB / 24.54 MB, free: 3.875 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.593/1.593, allocations: 230.3 MB / 258 MB, free: 8.219 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 59.91 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3495, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004033/0.3536, allocations: 1.53 MB / 433.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.3567, allocations: 0.8887 MB / 434.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.3568, allocations: 4 kB / 434.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.3569, allocations: 11.86 kB / 434.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.357, allocations: 27.84 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3574, allocations: 47.89 kB / 434.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.3578, allocations: 135.7 kB / 434.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3579, allocations: 16.22 kB / 434.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.3589, allocations: 0.5771 MB / 435.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3591, allocations: 79.62 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.3592, allocations: 8 kB / 435.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.3592, allocations: 8 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3594, allocations: 67.7 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.3596, allocations: 119.2 kB / 435.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.3603, allocations: 372.2 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3603, allocations: 3.938 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3603, allocations: 0 / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.3603, allocations: 0 / 436 MB, free: 3.195 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00123/0.3615, allocations: 0.6514 MB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3616, allocations: 11.97 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3617, allocations: 40.7 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.3622, allocations: 220.8 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.3622, allocations: 8.375 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.3623, allocations: 12.38 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.3628, allocations: 125.9 kB / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3628, allocations: 0 / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.3629, allocations: 7.984 kB / 437.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3629, allocations: 4 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.3631, allocations: 55.97 kB / 437.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3644, allocations: 431.6 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.3647, allocations: 74.55 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.365, allocations: 64.88 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.365, allocations: 0 / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006273/0.3656, allocations: 214.4 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/0.3656, allocations: 0 / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001525/0.3671, allocations: 472.1 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/0.3674, allocations: 166.2 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3685, allocations: 0.5168 MB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.3686, allocations: 33.7 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3687, allocations: 97.09 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.3688, allocations: 39.7 kB / 439.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.369, allocations: 81.56 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.3692, allocations: 326.8 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.3694, allocations: 51.97 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.3697, allocations: 81.67 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.3704, allocations: 339.3 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3704, allocations: 0 / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001135/0.3715, allocations: 388.3 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.3717, allocations: 125.3 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3717, allocations: 112 / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3717, allocations: 7.938 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.99e-05/0.3718, allocations: 12.08 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3718, allocations: 0 / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.372, allocations: 12 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.3721, allocations: 55.94 kB / 440.6 MB, free: 14.16 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.0006077/0.3727, allocations: 366.4 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3728, allocations: 43.75 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.373, allocations: 63.09 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.373, allocations: 0 / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.373, allocations: 0 / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.373, allocations: 7.984 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.3749, allocations: 0.793 MB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3749, allocations: 0 / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-06/0.3749, allocations: 0 / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3749, allocations: 4 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.375, allocations: 11.98 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.375, allocations: 3.938 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.375, allocations: 3.938 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.3763, allocations: 0.5446 MB / 442.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/0.377, allocations: 205.4 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.3771, allocations: 8 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3773, allocations: 12 kB / 442.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.3775, allocations: 23.91 kB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.3776, allocations: 63.98 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008776/0.3785, allocations: 382.9 kB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3785, allocations: 0 / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.3791, allocations: 47.94 kB / 443.2 MB, free: 11.46 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.0002351/0.3793, allocations: 115.1 kB / 443.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009178/0.3802, allocations: 377.5 kB / 443.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3802, allocations: 0 / 443.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.3808, allocations: 301.6 kB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.3819, allocations: 114.7 kB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3839, allocations: 0.6684 MB / 444.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008525/0.3848, allocations: 0.7983 MB / 445.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.969e-05/0.3849, allocations: 12.64 kB / 445.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.3849, allocations: 15.44 kB / 445.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3849, allocations: 0 / 445.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01043/0.3953, allocations: 4.721 MB / 450.3 MB, free: 4.141 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.9265983598306775]