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.001445/0.001445, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001529/0.001529, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.095/1.095, allocations: 177 MB / 205.2 MB, free: 5.594 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.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 1.993e-06/1.993e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.358e-05, allocations: 5.266 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002941/0.002975, allocations: 1.533 MB / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.00508, allocations: 0.8536 MB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.005163, allocations: 4 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.005272, allocations: 7.922 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.005366, allocations: 19.8 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.005697, allocations: 51.88 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.005916, allocations: 131.7 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.006028, allocations: 16.16 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006839/0.006712, allocations: 0.5966 MB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006858, allocations: 67.8 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.006896, allocations: 8 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.006924, allocations: 16 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.007011, allocations: 59.78 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.808e-05/0.007109, allocations: 59.67 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.007461, allocations: 283 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007465, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.007466, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.007475, allocations: 4 kB / 276.7 MB, free: 14.04 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.0008118/0.008287, allocations: 0.7785 MB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.008332, allocations: 15.98 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.008442, allocations: 48.7 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.008715, allocations: 219 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.008746, allocations: 12.31 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.008774, allocations: 12.38 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.009155, allocations: 245.6 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.009163, allocations: 192 / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.009189, allocations: 12.36 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.009203, allocations: 7.922 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.009368, allocations: 158.8 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.01011, allocations: 0.4954 MB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.01033, allocations: 189.8 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.0105, allocations: 182.5 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.01051, allocations: 3.938 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.01082, allocations: 319.1 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.01082, allocations: 0 / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008479/0.01167, allocations: 0.6854 MB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.01175, allocations: 166.2 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.01261, allocations: 0.6271 MB / 280.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.01264, allocations: 33.69 kB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.01272, allocations: 155.8 kB / 281 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.01276, allocations: 27.84 kB / 281 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.01288, allocations: 87.17 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.01307, allocations: 0.4923 MB / 281.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.01324, allocations: 166.8 kB / 281.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.01341, allocations: 186.1 kB / 282 MB, free: 8.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.01369, allocations: 340.5 kB / 282.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0137, allocations: 0 / 282.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005742/0.01427, allocations: 0.4913 MB / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/0.01437, allocations: 129.8 kB / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01438, allocations: 0 / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.0144, allocations: 0 / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/0.01442, allocations: 0 / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01443, allocations: 112 / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.01458, allocations: 19.92 kB / 282.9 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.01466, allocations: 55.94 kB / 283 MB, free: 7.078 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.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.000332/0.01499, allocations: 393.2 kB / 283.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.01506, allocations: 55.7 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.01516, allocations: 51.12 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01516, allocations: 0 / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01517, allocations: 4.125 kB / 283.5 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01517, allocations: 7.938 kB / 283.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.01623, allocations: 0.9556 MB / 284.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01623, allocations: 0 / 284.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.01624, allocations: 0 / 284.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01624, allocations: 0 / 284.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.01627, allocations: 12 kB / 284.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.01627, allocations: 0 / 284.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01627, allocations: 0 / 284.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.01696, allocations: 0.7198 MB / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.0173, allocations: 181.4 kB / 285.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.01735, allocations: 12 kB / 285.4 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.01748, allocations: 11.98 kB / 285.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.01759, allocations: 23.97 kB / 285.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.01765, allocations: 56 kB / 285.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000527/0.01817, allocations: 430.7 kB / 285.9 MB, free: 4 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01817, allocations: 0 / 285.9 MB, free: 4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.01849, allocations: 40 kB / 285.9 MB, free: 3.961 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,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.0001516/0.01865, allocations: 119 kB / 286 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.01918, allocations: 0.5965 MB / 286.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01918, allocations: 0 / 286.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.01947, allocations: 428 kB / 287 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.02003, allocations: 130.7 kB / 287.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.02117, allocations: 0.7486 MB / 287.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.02129, allocations: 99.33 kB / 288 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.02134, allocations: 16.64 kB / 288 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.02138, allocations: 12.5 kB / 288 MB, free: 1.562 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02138, allocations: 0 / 288 MB, free: 1.562 MB / 266.7 MB Notification: Performance of Templates: time 0.007981/0.02936, allocations: 5.01 MB / 293.1 MB, free: 12.51 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] 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","",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.9874742550309747]