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.001072/0.001072, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001127/0.001127, allocations: 168.6 kB / 25.33 MB, free: 8.133 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 0.9962/0.9962, allocations: 158.6 MB / 187.2 MB, free: 2.922 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 1.834e-06/1.834e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.372e-05, allocations: 5.266 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00243/0.002464, allocations: 1.518 MB / 252.6 MB, free: 5.98 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.003957, allocations: 0.8623 MB / 253.4 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.00401, allocations: 0 / 253.4 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.004117, allocations: 15.86 kB / 253.4 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.004202, allocations: 27.78 kB / 253.5 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.004481, allocations: 43.89 kB / 253.5 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004652, allocations: 131.7 kB / 253.6 MB, free: 4.895 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.004749, allocations: 16.22 kB / 253.7 MB, free: 4.875 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.00522, allocations: 0.5966 MB / 254.2 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.005337, allocations: 67.8 kB / 254.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.005372, allocations: 8 kB / 254.3 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.005395, allocations: 8 kB / 254.3 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.00547, allocations: 75.66 kB / 254.4 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.005545, allocations: 55.78 kB / 254.5 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.005794, allocations: 287 kB / 254.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005797, allocations: 0 / 254.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005799, allocations: 0 / 254.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005803, allocations: 0 / 254.7 MB, free: 3.785 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.0006446/0.006448, allocations: 0.7785 MB / 255.5 MB, free: 2.945 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.00649, allocations: 11.98 kB / 255.5 MB, free: 2.934 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.006568, allocations: 48.7 kB / 255.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.006782, allocations: 226.8 kB / 255.8 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.006806, allocations: 8.375 kB / 255.8 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.006826, allocations: 12.36 kB / 255.8 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.007136, allocations: 253.7 kB / 256.1 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.007145, allocations: 192 / 256.1 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.007165, allocations: 4.375 kB / 256.1 MB, free: 2.332 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.007174, allocations: 3.938 kB / 256.1 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.007285, allocations: 162.7 kB / 256.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.00784, allocations: 499.4 kB / 256.7 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.008003, allocations: 197.8 kB / 256.9 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.008399, allocations: 174.5 kB / 257.1 MB, free: 1.191 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.008408, allocations: 7.938 kB / 257.1 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.008632, allocations: 327.1 kB / 257.4 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.485e-06/0.008635, allocations: 0 / 257.4 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006592/0.009294, allocations: 0.6853 MB / 258.1 MB, free: 48 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.00937, allocations: 166.2 kB / 258.3 MB, free: 15.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.009906, allocations: 0.6232 MB / 258.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.00993, allocations: 33.69 kB / 258.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.009992, allocations: 147.8 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.01002, allocations: 27.84 kB / 259.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.0101, allocations: 87.17 kB / 259.2 MB, free: 14.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.01036, allocations: 0.4962 MB / 259.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.01047, allocations: 166.8 kB / 259.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01058, allocations: 186.1 kB / 260 MB, free: 13.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.01078, allocations: 340.8 kB / 260.3 MB, free: 13.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01078, allocations: 3.938 kB / 260.4 MB, free: 13.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000368/0.01115, allocations: 499 kB / 260.8 MB, free: 13.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.01122, allocations: 126.8 kB / 261 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01122, allocations: 0 / 261 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01124, allocations: 4.031 kB / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.01128, allocations: 4 kB / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.01129, allocations: 0 / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01141, allocations: 11.98 kB / 261 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.01146, allocations: 55.94 kB / 261 MB, free: 12.83 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.0002377/0.0117, allocations: 389.2 kB / 261.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.01175, allocations: 55.7 kB / 261.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.01182, allocations: 55.08 kB / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01182, allocations: 0 / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01183, allocations: 0 / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.01183, allocations: 4 kB / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.0126, allocations: 0.9517 MB / 262.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.0126, allocations: 4 kB / 262.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-06/0.01261, allocations: 7.984 kB / 262.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01262, allocations: 0 / 262.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.01264, allocations: 12 kB / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01264, allocations: 3.938 kB / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01265, allocations: 192 / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.01338, allocations: 0.7003 MB / 263.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.01359, allocations: 185.4 kB / 263.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.01363, allocations: 20 kB / 263.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.01372, allocations: 11.98 kB / 263.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.01381, allocations: 23.98 kB / 263.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.01386, allocations: 59.92 kB / 263.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003365/0.01419, allocations: 430.7 kB / 263.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01419, allocations: 0 / 263.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.01439, allocations: 43.94 kB / 264 MB, free: 9.707 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.0001184/0.0145, allocations: 115 kB / 264.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.0149, allocations: 0.6003 MB / 264.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01491, allocations: 0 / 264.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.01511, allocations: 428 kB / 265.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.01549, allocations: 132.3 kB / 265.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008552/0.01635, allocations: 0.7516 MB / 266 MB, free: 7.465 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.01643, allocations: 99.25 kB / 266.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.01647, allocations: 0.7344 kB / 266.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.0165, allocations: 20.56 kB / 266.1 MB, free: 7.328 MB / 250.7 MB Notification: Performance of SimCode: time 1.803e-06/0.0165, allocations: 4 kB / 266.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of Templates: time 0.006901/0.0234, allocations: 5.223 MB / 271.3 MB, free: 2.016 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.895453999750316]