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.001184/0.001184, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001837/0.003021, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001045/0.001045, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002516, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9728/0.9728, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08564/1.058, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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 4.388e-06/4.388e-06, allocations: 4 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.476e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001641/0.001656, allocations: 1.577 MB / 246.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002838, allocations: 0.9127 MB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.002869, allocations: 0 / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.002918, allocations: 15.88 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.002961, allocations: 19.84 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.003078, allocations: 47.83 kB / 247.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.003211, allocations: 131.7 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.003269, allocations: 12.22 kB / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.003645, allocations: 0.5498 MB / 248 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.003728, allocations: 71.73 kB / 248 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.003754, allocations: 8 kB / 248.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.003774, allocations: 8 kB / 248.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.003825, allocations: 67.78 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.003877, allocations: 47.81 kB / 248.2 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.004059, allocations: 271 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.004067, allocations: 0 / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004068, allocations: 0 / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.004075, allocations: 0 / 248.4 MB, free: 10.47 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.0004582/0.004533, allocations: 0.6613 MB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.004559, allocations: 12.03 kB / 249.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.004611, allocations: 32.91 kB / 249.1 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.00476, allocations: 204.1 kB / 249.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.004775, allocations: 12.36 kB / 249.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.004792, allocations: 12.38 kB / 249.4 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.00501, allocations: 233.6 kB / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-06/0.005015, allocations: 192 / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.005029, allocations: 8.375 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005033, allocations: 3.938 kB / 249.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.005114, allocations: 146.8 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.005352, allocations: 220.2 kB / 250 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.005455, allocations: 173.3 kB / 250.1 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.005537, allocations: 163.7 kB / 250.3 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-06/0.005542, allocations: 0 / 250.3 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.005716, allocations: 313.3 kB / 250.6 MB, free: 8.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.005717, allocations: 0 / 250.6 MB, free: 8.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003072/0.006024, allocations: 0.529 MB / 251.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.006083, allocations: 178.2 kB / 251.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.006351, allocations: 355.2 kB / 251.6 MB, free: 6.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.006369, allocations: 29.7 kB / 251.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.0064, allocations: 97.06 kB / 251.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.006429, allocations: 39.72 kB / 251.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.00649, allocations: 73.48 kB / 251.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.00656, allocations: 326.8 kB / 252.2 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.006638, allocations: 154.8 kB / 252.4 MB, free: 6.121 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.006714, allocations: 164.5 kB / 252.5 MB, free: 5.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.006866, allocations: 327.4 kB / 252.8 MB, free: 5.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.006867, allocations: 0 / 252.8 MB, free: 5.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001918/0.007059, allocations: 363.2 kB / 253.2 MB, free: 5.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.007125, allocations: 134.8 kB / 253.3 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.007129, allocations: 0 / 253.3 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.007138, allocations: 0 / 253.3 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.661e-05/0.007165, allocations: 7.984 kB / 253.3 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.007169, allocations: 3.938 kB / 253.3 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.007245, allocations: 8 kB / 253.3 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.007285, allocations: 60 kB / 253.4 MB, free: 4.91 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.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.0002071/0.007492, allocations: 337.3 kB / 253.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.007526, allocations: 35.91 kB / 253.8 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.007592, allocations: 59.08 kB / 253.8 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007594, allocations: 4 kB / 253.8 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007595, allocations: 0 / 253.8 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007598, allocations: 0 / 253.8 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.007964, allocations: 0.6056 MB / 254.4 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007965, allocations: 192 / 254.4 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.00797, allocations: 4 kB / 254.4 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.008138, allocations: 139.5 kB / 254.6 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008139, allocations: 3.938 kB / 254.6 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.008155, allocations: 11.97 kB / 254.6 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008156, allocations: 4 kB / 254.6 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008157, allocations: 0 / 254.6 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.0084, allocations: 0.5006 MB / 255.1 MB, free: 3.047 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.008429, allocations: 15.94 kB / 255.1 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.008494, allocations: 8 kB / 255.1 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.00854, allocations: 19.97 kB / 255.1 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.008574, allocations: 51.98 kB / 255.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.008701, allocations: 152.6 kB / 255.3 MB, free: 2.801 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008701, allocations: 0 / 255.3 MB, free: 2.801 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.008844, allocations: 44 kB / 255.4 MB, free: 2.758 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,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 7.005e-05/0.008914, allocations: 96.17 kB / 255.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.009193, allocations: 0.5703 MB / 256 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.009197, allocations: 4 kB / 256 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.009367, allocations: 412.1 kB / 256.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.009689, allocations: 361.4 kB / 256.8 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.01042, allocations: 0.7456 MB / 257.5 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.01048, allocations: 99.25 kB / 257.6 MB, free: 196 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.01051, allocations: 12.81 kB / 257.7 MB, free: 184 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.01073, allocations: 167.2 kB / 257.8 MB, free: 16 kB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01074, allocations: 0 / 257.8 MB, free: 16 kB / 250.7 MB Notification: Performance of Templates: time 0.005087/0.01582, allocations: 4.649 MB / 262.5 MB, free: 11.35 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.555476948618889]