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.001066/0.001066, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.002724, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001106/0.001106, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002707, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.975/0.975, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08381/1.059, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.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 3.105e-06/3.105e-06, allocations: 3.984 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/2.115e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003131/0.003152, allocations: 1.577 MB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.005013, allocations: 0.909 MB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.005071, allocations: 0 / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.204e-05/0.005153, allocations: 15.86 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.005211, allocations: 15.88 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.005392, allocations: 51.81 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.005569, allocations: 135.6 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.005647, allocations: 12.22 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.006071, allocations: 0.5459 MB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.006183, allocations: 71.8 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.006211, allocations: 8 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.006231, allocations: 12 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.006294, allocations: 63.72 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.006353, allocations: 47.81 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.006578, allocations: 267.1 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.006594, allocations: 3.984 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006596, allocations: 3.938 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.006611, allocations: 0 / 248.7 MB, free: 9.891 MB / 250.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.0005784/0.007189, allocations: 0.6652 MB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.007222, allocations: 8.625 kB / 249.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.007279, allocations: 32.91 kB / 249.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.007466, allocations: 212.1 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.007486, allocations: 8.375 kB / 249.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.007503, allocations: 8.375 kB / 249.7 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.007763, allocations: 233.7 kB / 249.9 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.007769, allocations: 192 / 249.9 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.007782, allocations: 4.312 kB / 249.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.007787, allocations: 7.938 kB / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.007873, allocations: 150.8 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.008134, allocations: 212.2 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.00826, allocations: 177.3 kB / 250.4 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.008348, allocations: 151.7 kB / 250.6 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.008355, allocations: 7.984 kB / 250.6 MB, free: 7.828 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.008539, allocations: 309.4 kB / 250.9 MB, free: 7.477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.00854, allocations: 0 / 250.9 MB, free: 7.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003371/0.008877, allocations: 0.5253 MB / 251.4 MB, free: 6.871 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.008915, allocations: 85.11 kB / 251.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.00919, allocations: 359.2 kB / 251.9 MB, free: 6.406 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.009213, allocations: 37.7 kB / 251.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.009249, allocations: 97.06 kB / 252 MB, free: 6.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.009276, allocations: 35.7 kB / 252 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.009345, allocations: 73.5 kB / 252.1 MB, free: 6.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.009419, allocations: 322.9 kB / 252.4 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.009502, allocations: 158.7 kB / 252.6 MB, free: 5.648 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-05/0.009594, allocations: 168.5 kB / 252.7 MB, free: 5.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.00976, allocations: 331.2 kB / 253.1 MB, free: 5.078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.009762, allocations: 0 / 253.1 MB, free: 5.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002077/0.009969, allocations: 363.2 kB / 253.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/0.01004, allocations: 134.7 kB / 253.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01004, allocations: 0 / 253.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.01005, allocations: 4 kB / 253.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.009e-05/0.01007, allocations: 0 / 253.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.01007, allocations: 0 / 253.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.01015, allocations: 11.98 kB / 253.6 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.0102, allocations: 51.94 kB / 253.6 MB, free: 4.445 MB / 250.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.0002237/0.01042, allocations: 345.3 kB / 253.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.01045, allocations: 39.94 kB / 254 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.01053, allocations: 55.08 kB / 254 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01053, allocations: 4 kB / 254 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01053, allocations: 0 / 254 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01053, allocations: 0 / 254 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.01092, allocations: 0.6017 MB / 254.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01093, allocations: 0 / 254.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.01093, allocations: 0 / 254.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.0111, allocations: 139.4 kB / 254.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01111, allocations: 4 kB / 254.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01112, allocations: 4 kB / 254.8 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01112, allocations: 4 kB / 254.8 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01112, allocations: 0 / 254.8 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.01138, allocations: 0.5009 MB / 255.3 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.01141, allocations: 8.188 kB / 255.3 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.01148, allocations: 15.98 kB / 255.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.01154, allocations: 19.98 kB / 255.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.01157, allocations: 51.92 kB / 255.4 MB, free: 2.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.01171, allocations: 160.6 kB / 255.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01171, allocations: 0 / 255.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.01186, allocations: 40 kB / 255.6 MB, free: 2.297 MB / 250.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 0.0001034/0.01196, allocations: 95.42 kB / 255.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.01227, allocations: 0.5703 MB / 256.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.01228, allocations: 7.938 kB / 256.3 MB, free: 1.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.01245, allocations: 416 kB / 256.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01275, allocations: 140.3 kB / 256.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.01364, allocations: 0.7496 MB / 257.5 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.849e-05/0.01372, allocations: 104.7 kB / 257.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.01375, allocations: 8.719 kB / 257.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.01399, allocations: 167.2 kB / 257.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01399, allocations: 0 / 257.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Templates: time 0.005485/0.01947, allocations: 4.641 MB / 262.5 MB, free: 11.12 MB / 266.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 -ignoreHideResult -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.5573167698457837]