Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001307/0.001307, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001526/0.001526, allocations: 169 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 4 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.397e-05, allocations: 6.109 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002048/0.002082, allocations: 1.511 MB / 252.6 MB, free: 6.277 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.003685, allocations: 0.8546 MB / 253.5 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.003751, allocations: 11.94 kB / 253.5 MB, free: 5.402 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.00386, allocations: 7.922 kB / 253.5 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.003946, allocations: 23.78 kB / 253.5 MB, free: 5.371 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.004208, allocations: 43.89 kB / 253.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.004415, allocations: 131.7 kB / 253.7 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.004508, allocations: 12.23 kB / 253.7 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.005029, allocations: 0.6044 MB / 254.3 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.005144, allocations: 67.75 kB / 254.4 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.005179, allocations: 8 kB / 254.4 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.701e-05/0.005206, allocations: 12 kB / 254.4 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.005276, allocations: 67.72 kB / 254.5 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.005355, allocations: 63.77 kB / 254.5 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.005608, allocations: 283 kB / 254.8 MB, free: 4.082 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.005612, allocations: 0 / 254.8 MB, free: 4.082 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005613, allocations: 0 / 254.8 MB, free: 4.082 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005618, allocations: 0 / 254.8 MB, free: 4.082 MB / 234.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.0006079/0.006225, allocations: 0.7862 MB / 255.6 MB, free: 3.234 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.006264, allocations: 11.98 kB / 255.6 MB, free: 3.223 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.006338, allocations: 48.7 kB / 255.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.006554, allocations: 215 kB / 255.9 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.006577, allocations: 8.375 kB / 255.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.006597, allocations: 12.38 kB / 255.9 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.00689, allocations: 245.7 kB / 256.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.006897, allocations: 192 / 256.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.006914, allocations: 12.31 kB / 256.1 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.006922, allocations: 3.938 kB / 256.1 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.007035, allocations: 162.8 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.007588, allocations: 0.4915 MB / 256.8 MB, free: 1.918 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.008035, allocations: 193.8 kB / 257 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.008152, allocations: 174.5 kB / 257.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.008161, allocations: 7.938 kB / 257.1 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.008381, allocations: 327.1 kB / 257.5 MB, free: 1.113 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.008382, allocations: 0 / 257.5 MB, free: 1.113 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005987/0.008981, allocations: 0.6815 MB / 258.1 MB, free: 360 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.009051, allocations: 170.2 kB / 258.3 MB, free: 152 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.009624, allocations: 0.6232 MB / 258.9 MB, free: 15.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.009646, allocations: 29.7 kB / 259 MB, free: 15.47 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.009713, allocations: 151.8 kB / 259.1 MB, free: 15.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.009742, allocations: 31.8 kB / 259.1 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.009819, allocations: 91.16 kB / 259.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.009933, allocations: 0.4923 MB / 259.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.01005, allocations: 162.9 kB / 259.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.01016, allocations: 190.1 kB / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.01035, allocations: 336.8 kB / 260.4 MB, free: 13.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01035, allocations: 4 kB / 260.4 MB, free: 13.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003678/0.01072, allocations: 495 kB / 260.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.01078, allocations: 134.8 kB / 261 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01079, allocations: 0 / 261 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.0108, allocations: 4 kB / 261 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.485e-05/0.01082, allocations: 0 / 261 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01082, allocations: 0 / 261 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.427e-05/0.01091, allocations: 8 kB / 261 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.01096, allocations: 59.92 kB / 261.1 MB, free: 13.13 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.0002483/0.01121, allocations: 393.2 kB / 261.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.01126, allocations: 55.7 kB / 261.5 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.01132, allocations: 55.08 kB / 261.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01133, allocations: 4 kB / 261.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01133, allocations: 0 / 261.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01133, allocations: 0 / 261.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.01209, allocations: 0.9672 MB / 262.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01209, allocations: 0 / 262.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.01209, allocations: 0 / 262.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.0121, allocations: 0 / 262.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.01212, allocations: 15.98 kB / 262.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01212, allocations: 192 / 262.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01212, allocations: 0 / 262.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.01258, allocations: 0.7043 MB / 263.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.0128, allocations: 189.4 kB / 263.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.01284, allocations: 8 kB / 263.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.01291, allocations: 8 kB / 263.5 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.01298, allocations: 27.97 kB / 263.5 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.01302, allocations: 63.86 kB / 263.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006484/0.01367, allocations: 434.7 kB / 264 MB, free: 10.04 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.01367, allocations: 0 / 264 MB, free: 10.04 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000191/0.01386, allocations: 44 kB / 264 MB, free: 9.996 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 0.0001222/0.01398, allocations: 115 kB / 264.1 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.01439, allocations: 0.5887 MB / 264.7 MB, free: 9.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.0144, allocations: 4 kB / 264.7 MB, free: 9.176 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.01461, allocations: 428 kB / 265.2 MB, free: 8.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.01499, allocations: 126.6 kB / 265.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.01578, allocations: 0.7517 MB / 266 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.67e-05/0.01586, allocations: 99.25 kB / 266.1 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.65e-05/0.01588, allocations: 8.797 kB / 266.1 MB, free: 7.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.01591, allocations: 12.5 kB / 266.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of SimCode: time 1.402e-06/0.01591, allocations: 0 / 266.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of Templates: time 0.006691/0.0226, allocations: 5.023 MB / 271.2 MB, free: 2.523 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9443685540463775]