Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 142.7 kB / 24.97 MB, free: 8.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 173.4 MB / 201.5 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.631e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002008/0.002034, allocations: 1.518 MB / 269.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003401, allocations: 0.8224 MB / 270.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.003463, allocations: 0 / 270.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.331e-05/0.003557, allocations: 11.92 kB / 270.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.003636, allocations: 23.78 kB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.003912, allocations: 55.81 kB / 270.5 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.004092, allocations: 131.7 kB / 270.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.004191, allocations: 16.2 kB / 270.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.004656, allocations: 0.5965 MB / 271.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.004765, allocations: 67.81 kB / 271.3 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.004798, allocations: 12 kB / 271.3 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.004821, allocations: 8 kB / 271.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.004895, allocations: 67.77 kB / 271.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.004968, allocations: 55.73 kB / 271.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.005219, allocations: 279 kB / 271.7 MB, free: 3.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005223, allocations: 8 kB / 271.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005224, allocations: 0 / 271.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.00523, allocations: 0 / 271.7 MB, free: 3.035 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.0008273/0.006057, allocations: 0.7785 MB / 272.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.006094, allocations: 8.922 kB / 272.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.006169, allocations: 44.7 kB / 272.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.006381, allocations: 222.9 kB / 272.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.006404, allocations: 8.359 kB / 272.8 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.006425, allocations: 16.31 kB / 272.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.006722, allocations: 245.4 kB / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.00673, allocations: 4.188 kB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.006747, allocations: 8.312 kB / 273 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.006755, allocations: 3.938 kB / 273 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.006859, allocations: 170.8 kB / 273.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.007417, allocations: 0.4915 MB / 273.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.007568, allocations: 193.8 kB / 273.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.007675, allocations: 170.5 kB / 274.1 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.007683, allocations: 7.922 kB / 274.1 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.007903, allocations: 327 kB / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.007905, allocations: 0 / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006127/0.008517, allocations: 0.6893 MB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.008583, allocations: 162.2 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.009149, allocations: 0.6272 MB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.00917, allocations: 29.64 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.009237, allocations: 151.9 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.009266, allocations: 27.8 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.009346, allocations: 83.22 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.00947, allocations: 0.4923 MB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.009581, allocations: 170.8 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.009688, allocations: 186.1 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.009875, allocations: 340.9 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009877, allocations: 0 / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003739/0.01025, allocations: 495.1 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.01031, allocations: 129.8 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.01032, allocations: 3.938 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01033, allocations: 0 / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.01035, allocations: 4.156 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01036, allocations: 8 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.01046, allocations: 15.98 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.0105, allocations: 52.11 kB / 278 MB, free: 12.09 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.0002386/0.01074, allocations: 389.2 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.01079, allocations: 51.7 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.01086, allocations: 55.08 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.01087, allocations: 4 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01087, allocations: 0 / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.01088, allocations: 0 / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.01198, allocations: 0.9631 MB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01198, allocations: 0 / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.01199, allocations: 3.984 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.01199, allocations: 4 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.01201, allocations: 12 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.01202, allocations: 4 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01202, allocations: 0 / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.01253, allocations: 0.7042 MB / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.01277, allocations: 181.4 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.01281, allocations: 12 kB / 280.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.0129, allocations: 15.98 kB / 280.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.013, allocations: 23.98 kB / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.01304, allocations: 59.92 kB / 280.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003735/0.01342, allocations: 430.7 kB / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01342, allocations: 0 / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.01361, allocations: 40 kB / 280.9 MB, free: 8.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.0001304/0.01374, allocations: 119.1 kB / 281.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.01415, allocations: 0.5999 MB / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01415, allocations: 4.062 kB / 281.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.01435, allocations: 428 kB / 282.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.01473, allocations: 124.3 kB / 282.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.01552, allocations: 0.7486 MB / 282.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.276e-05/0.0156, allocations: 99.25 kB / 283 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.086e-05/0.01564, allocations: 0.7344 kB / 283 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.01567, allocations: 20.5 kB / 283.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of SimCode: time 1.041e-06/0.01567, allocations: 7.938 kB / 283.1 MB, free: 6.574 MB / 266.7 MB Notification: Performance of Templates: time 0.006391/0.02206, allocations: 5.026 MB / 288.1 MB, free: 1.527 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0056041369680315]