Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.001679/0.001679, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 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.002041/0.002041, allocations: 166.7 kB / 24.82 MB, free: 9.266 MB / 18.57 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.173/1.173, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.398e-05, allocations: 9.266 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001977/0.002001, allocations: 1.529 MB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003425, allocations: 0.8575 MB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.003485, allocations: 3.938 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.003552, allocations: 3.938 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.003618, allocations: 19.86 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.003836, allocations: 47.88 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.003988, allocations: 131.7 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.00406, allocations: 20.16 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.004527, allocations: 0.5927 MB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.004631, allocations: 71.73 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.004663, allocations: 16 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.455e-05/0.004687, allocations: 8 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.004745, allocations: 59.78 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.004808, allocations: 55.73 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.005022, allocations: 282.9 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.005024, allocations: 0 / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.51e-07/0.005024, allocations: 0 / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.005028, allocations: 4 kB / 277 MB, free: 13.52 MB / 266.7 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.0005617/0.00559, allocations: 0.7862 MB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.005619, allocations: 11.98 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.005674, allocations: 48.7 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.005838, allocations: 219 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.005853, allocations: 4.375 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.005869, allocations: 12.31 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.006089, allocations: 249.6 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-06/0.006094, allocations: 192 / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006107, allocations: 4.375 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.006111, allocations: 3.938 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.006198, allocations: 154.8 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.006592, allocations: 412 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.006708, allocations: 181.8 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.821e-05/0.006806, allocations: 166.5 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.006811, allocations: 0 / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.006998, allocations: 323 kB / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.42e-07/0.006999, allocations: 0 / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004844/0.007483, allocations: 0.6542 MB / 280.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.007542, allocations: 170.2 kB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.007985, allocations: 0.5022 MB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.008009, allocations: 33.7 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.00807, allocations: 151.8 kB / 281.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.008119, allocations: 31.78 kB / 281.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.008197, allocations: 91.14 kB / 281.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.008365, allocations: 0.4884 MB / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.008471, allocations: 154.8 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.008563, allocations: 178.1 kB / 282 MB, free: 8.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.008758, allocations: 324.8 kB / 282.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00876, allocations: 0 / 282.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004304/0.00919, allocations: 483 kB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.009264, allocations: 125.9 kB / 282.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.009269, allocations: 0 / 282.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.009281, allocations: 7.984 kB / 282.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.57e-05/0.009297, allocations: 4.219 kB / 282.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.009301, allocations: 7.875 kB / 282.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.00938, allocations: 16 kB / 282.9 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.009423, allocations: 55.94 kB / 283 MB, free: 6.898 MB / 266.7 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0002369/0.00966, allocations: 389.3 kB / 283.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.009703, allocations: 55.7 kB / 283.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.912e-05/0.009782, allocations: 59.08 kB / 283.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.009783, allocations: 0 / 283.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.009786, allocations: 0 / 283.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.009788, allocations: 0 / 283.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.01051, allocations: 0.8469 MB / 284.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01051, allocations: 0 / 284.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.01052, allocations: 7.938 kB / 284.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01052, allocations: 0 / 284.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.01054, allocations: 19.98 kB / 284.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01054, allocations: 4 kB / 284.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01054, allocations: 0 / 284.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.01095, allocations: 0.677 MB / 285 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.01118, allocations: 185.3 kB / 285.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.01121, allocations: 15.94 kB / 285.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.01129, allocations: 11.98 kB / 285.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.01135, allocations: 19.98 kB / 285.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.01139, allocations: 59.98 kB / 285.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002182/0.01161, allocations: 298.9 kB / 285.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 285.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.0118, allocations: 48 kB / 285.7 MB, free: 4.043 MB / 266.7 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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 9.74e-05/0.0119, allocations: 110.4 kB / 285.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.01222, allocations: 0.5731 MB / 286.3 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01223, allocations: 0 / 286.3 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.01241, allocations: 420 kB / 286.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.01277, allocations: 124.3 kB / 286.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.01383, allocations: 0.7447 MB / 287.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.073e-05/0.0139, allocations: 99.77 kB / 287.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.01394, allocations: 8.719 kB / 287.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.01421, allocations: 198 kB / 287.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01421, allocations: 0 / 287.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of Templates: time 0.005735/0.01994, allocations: 4.723 MB / 292.6 MB, free: 12.76 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9828747319988906]