Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9491/0.9491, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.154e-05, allocations: 2.312 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002121/0.002143, allocations: 1.51 MB / 275.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003611, allocations: 0.8598 MB / 276.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.003662, allocations: 0 / 276.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.963e-05/0.003752, allocations: 11.88 kB / 276.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.003826, allocations: 20.48 kB / 276.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.004043, allocations: 53.83 kB / 276.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.004199, allocations: 127.7 kB / 276.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.004285, allocations: 28.14 kB / 276.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.004748, allocations: 0.5927 MB / 277.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.004856, allocations: 64.44 kB / 277.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.004884, allocations: 11.94 kB / 277.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.004905, allocations: 9.094 kB / 277.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.004969, allocations: 67.77 kB / 277.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.005031, allocations: 51.8 kB / 277.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.005253, allocations: 288.2 kB / 277.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.005255, allocations: 0 / 277.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005256, allocations: 0 / 277.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.005261, allocations: 0 / 277.9 MB, free: 0.7539 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.000582/0.005843, allocations: 0.7938 MB / 278.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.005872, allocations: 8.031 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.005931, allocations: 44.7 kB / 278.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.006105, allocations: 223 kB / 278.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.006121, allocations: 4.375 kB / 278.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.006137, allocations: 4.375 kB / 278.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.006368, allocations: 241.7 kB / 279.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.006375, allocations: 192 / 279.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.00639, allocations: 8.5 kB / 279.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006396, allocations: 3.938 kB / 279.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.006485, allocations: 158.8 kB / 279.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.007143, allocations: 404 kB / 279.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.007267, allocations: 185.8 kB / 279.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.007352, allocations: 162.5 kB / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-06/0.007356, allocations: 0 / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.007544, allocations: 315.2 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.007545, allocations: 3.938 kB / 280.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005055/0.00805, allocations: 0.6733 MB / 281.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.008109, allocations: 166.2 kB / 281.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.00853, allocations: 0.5022 MB / 281.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.008549, allocations: 29.7 kB / 281.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.008603, allocations: 151.8 kB / 281.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.008629, allocations: 31.78 kB / 281.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.008702, allocations: 83.2 kB / 282 MB, free: 12.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.008803, allocations: 0.4923 MB / 282.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.008891, allocations: 158.8 kB / 282.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.008981, allocations: 178.1 kB / 282.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.00914, allocations: 321 kB / 283.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.009141, allocations: 0 / 283.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003313/0.009473, allocations: 483.1 kB / 283.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.009528, allocations: 126.7 kB / 283.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.009532, allocations: 0 / 283.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.00954, allocations: 0 / 283.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-05/0.009554, allocations: 3.984 kB / 283.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.009557, allocations: 4 kB / 283.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.073e-05/0.009638, allocations: 12.03 kB / 283.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.009682, allocations: 60.06 kB / 283.8 MB, free: 10.15 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.0002307/0.009913, allocations: 397.2 kB / 284.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.009957, allocations: 51.7 kB / 284.3 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.01003, allocations: 51.09 kB / 284.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01003, allocations: 0 / 284.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01004, allocations: 3.984 kB / 284.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01004, allocations: 4 kB / 284.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.01063, allocations: 0.8469 MB / 285.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01063, allocations: 3.938 kB / 285.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.01064, allocations: 4 kB / 285.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01064, allocations: 3.938 kB / 285.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.01066, allocations: 19.98 kB / 285.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.01066, allocations: 0 / 285.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01066, allocations: 0 / 285.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.01105, allocations: 0.6731 MB / 285.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.01127, allocations: 185.3 kB / 286.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.0113, allocations: 12 kB / 286.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.01138, allocations: 15.97 kB / 286.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.01144, allocations: 23.97 kB / 286.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.01148, allocations: 59.94 kB / 286.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004686/0.01195, allocations: 306.9 kB / 286.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01195, allocations: 0 / 286.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01213, allocations: 40 kB / 286.5 MB, free: 7.289 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 9.288e-05/0.01222, allocations: 115.1 kB / 286.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.01254, allocations: 0.572 MB / 287.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01255, allocations: 0 / 287.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.01271, allocations: 416 kB / 287.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.01306, allocations: 132.4 kB / 287.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.01374, allocations: 0.7408 MB / 288.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.0138, allocations: 99.12 kB / 288.6 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.01383, allocations: 8.719 kB / 288.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.01407, allocations: 190.1 kB / 288.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01407, allocations: 0 / 288.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of Templates: time 0.005894/0.01996, allocations: 4.803 MB / 293.6 MB, free: 15.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6921769119799137]