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.001372/0.001372, allocations: 80.72 kB / 22.21 MB, free: 2.297 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.001347/0.001347, allocations: 149 kB / 25.6 MB, free: 8.605 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 0.9601/0.9601, allocations: 173.4 MB / 202.2 MB, free: 8.285 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.303e-06/1.303e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.863e-05, allocations: 3.969 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002428/0.002447, allocations: 1.512 MB / 270.7 MB, free: 8.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.004412, allocations: 0.8179 MB / 271.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.004472, allocations: 4 kB / 271.5 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.004574, allocations: 11.86 kB / 271.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.004667, allocations: 15.86 kB / 271.6 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.004932, allocations: 51.81 kB / 271.6 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.005145, allocations: 140.6 kB / 271.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.005236, allocations: 8.234 kB / 271.8 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006902/0.005926, allocations: 0.6004 MB / 272.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.006066, allocations: 68.33 kB / 272.4 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.006102, allocations: 9.719 kB / 272.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.006129, allocations: 12 kB / 272.4 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.006214, allocations: 67.72 kB / 272.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.006302, allocations: 51.78 kB / 272.6 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.00662, allocations: 286.9 kB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.006623, allocations: 0.5312 kB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006623, allocations: 1.219 kB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.006628, allocations: 0 / 272.8 MB, free: 6.137 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.0007872/0.007415, allocations: 0.7746 MB / 273.6 MB, free: 5.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.007452, allocations: 12.53 kB / 273.6 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/0.007538, allocations: 48.7 kB / 273.7 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.007776, allocations: 223.4 kB / 273.9 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.007799, allocations: 14.33 kB / 273.9 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.007824, allocations: 8.375 kB / 273.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.008128, allocations: 233.7 kB / 274.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.008135, allocations: 192 / 274.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.008155, allocations: 8.312 kB / 274.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.008163, allocations: 9.688 kB / 274.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.008294, allocations: 158.7 kB / 274.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.008859, allocations: 396.2 kB / 274.7 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.009046, allocations: 186.6 kB / 274.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.009183, allocations: 158.5 kB / 275 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.009189, allocations: 4.75 kB / 275 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.009482, allocations: 319.7 kB / 275.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.009484, allocations: 0 / 275.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007702/0.01025, allocations: 0.6616 MB / 276 MB, free: 2.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.01034, allocations: 166.2 kB / 276.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.011, allocations: 0.5099 MB / 276.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.01103, allocations: 33.7 kB / 276.7 MB, free: 1.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.01111, allocations: 147.8 kB / 276.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.01115, allocations: 35.72 kB / 276.9 MB, free: 1.648 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.01127, allocations: 83.2 kB / 277 MB, free: 1.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01142, allocations: 0.4962 MB / 277.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.01156, allocations: 154.7 kB / 277.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.0117, allocations: 174.1 kB / 277.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.01196, allocations: 324.9 kB / 278.1 MB, free: 304 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01197, allocations: 4 kB / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006291/0.0126, allocations: 479 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.278e-05/0.01268, allocations: 130.8 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01268, allocations: 0 / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01269, allocations: 0 / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.01272, allocations: 4 kB / 278.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.01272, allocations: 0 / 278.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.01284, allocations: 11.98 kB / 278.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.01291, allocations: 56.14 kB / 278.8 MB, free: 15.55 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.0004177/0.01333, allocations: 409.3 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.0134, allocations: 51.7 kB / 279.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.01351, allocations: 47.09 kB / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01351, allocations: 4 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01352, allocations: 0 / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01352, allocations: 0 / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009289/0.01445, allocations: 0.8392 MB / 280.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01445, allocations: 3.984 kB / 280.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.01446, allocations: 7.875 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01446, allocations: 4 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.01449, allocations: 12 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01449, allocations: 0 / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01449, allocations: 4 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.01529, allocations: 0.6843 MB / 280.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.01565, allocations: 189.3 kB / 281 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.01571, allocations: 12 kB / 281 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.01584, allocations: 8 kB / 281 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.01592, allocations: 19.97 kB / 281.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.01599, allocations: 59.94 kB / 281.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003444/0.01633, allocations: 306.9 kB / 281.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01633, allocations: 0 / 281.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.01665, allocations: 40 kB / 281.5 MB, free: 12.68 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.0001314/0.01678, allocations: 123 kB / 281.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.01725, allocations: 0.5692 MB / 282.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01725, allocations: 0 / 282.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.01751, allocations: 416 kB / 282.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.01803, allocations: 138.8 kB / 282.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.019, allocations: 0.7368 MB / 283.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.01909, allocations: 95.27 kB / 283.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.01913, allocations: 12.7 kB / 283.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.01948, allocations: 194.1 kB / 283.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01948, allocations: 7.938 kB / 283.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Templates: time 0.005885/0.02537, allocations: 4.799 MB / 288.5 MB, free: 5.348 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: 2.7423057621344924]