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.001366/0.001366, allocations: 92.59 kB / 20.95 MB, free: 480 kB / 14.72 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.001273/0.001273, allocations: 153.7 kB / 24.25 MB, free: 3.523 MB / 14.72 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.524/1.524, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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.804e-06/1.804e-06, allocations: 0 / 267.3 MB, free: 10.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/3.529e-05, allocations: 6.25 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003909/0.003945, allocations: 1.465 MB / 268.8 MB, free: 8.73 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.007061, allocations: 0.8044 MB / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.007133, allocations: 3.938 kB / 269.6 MB, free: 7.918 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.007258, allocations: 7.922 kB / 269.6 MB, free: 7.91 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.007392, allocations: 27.8 kB / 269.6 MB, free: 7.883 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.007754, allocations: 47.83 kB / 269.7 MB, free: 7.836 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.008012, allocations: 139.7 kB / 269.8 MB, free: 7.699 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.008134, allocations: 12.22 kB / 269.8 MB, free: 7.684 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008421/0.008976, allocations: 0.5966 MB / 270.4 MB, free: 7.086 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.009143, allocations: 63.81 kB / 270.5 MB, free: 7.023 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.00919, allocations: 8 kB / 270.5 MB, free: 7.016 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.009224, allocations: 12 kB / 270.5 MB, free: 7.004 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.009387, allocations: 67.72 kB / 270.6 MB, free: 6.938 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.00954, allocations: 63.72 kB / 270.6 MB, free: 6.875 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.01024, allocations: 370.8 kB / 271 MB, free: 6.512 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01024, allocations: 3.938 kB / 271 MB, free: 6.508 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01025, allocations: 0 / 271 MB, free: 6.508 MB / 254.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.01026, allocations: 0 / 271 MB, free: 6.508 MB / 254.1 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.001161/0.01142, allocations: 0.6552 MB / 271.6 MB, free: 5.797 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.01147, allocations: 8.922 kB / 271.6 MB, free: 5.789 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.01159, allocations: 44.7 kB / 271.7 MB, free: 5.746 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.01194, allocations: 220.1 kB / 271.9 MB, free: 5.504 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.01196, allocations: 8.312 kB / 271.9 MB, free: 5.496 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.012, allocations: 8.375 kB / 271.9 MB, free: 5.488 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.01249, allocations: 248.1 kB / 272.2 MB, free: 5.219 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.0125, allocations: 8.188 kB / 272.2 MB, free: 5.211 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.01253, allocations: 4.375 kB / 272.2 MB, free: 5.207 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.01254, allocations: 7.938 kB / 272.2 MB, free: 5.199 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.01281, allocations: 178.8 kB / 272.4 MB, free: 5 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.01356, allocations: 384.2 kB / 272.7 MB, free: 4.594 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.01387, allocations: 197.3 kB / 272.9 MB, free: 4.367 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.01414, allocations: 183.6 kB / 273.1 MB, free: 4.16 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.01415, allocations: 7.938 kB / 273.1 MB, free: 4.152 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005228/0.01468, allocations: 333.4 kB / 273.4 MB, free: 3.777 MB / 254.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.01468, allocations: 0 / 273.4 MB, free: 3.777 MB / 254.1 MB Notification: Performance of matching and sorting (n=13): time 0.001141/0.01582, allocations: 0.7089 MB / 274.2 MB, free: 2.988 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.01596, allocations: 170.2 kB / 274.3 MB, free: 2.785 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.01674, allocations: 0.513 MB / 274.8 MB, free: 2.262 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.01678, allocations: 33.64 kB / 274.9 MB, free: 2.223 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.01687, allocations: 101.1 kB / 275 MB, free: 2.121 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.01691, allocations: 31.75 kB / 275 MB, free: 2.09 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.01704, allocations: 81.55 kB / 275.1 MB, free: 2.004 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.0172, allocations: 322.8 kB / 275.4 MB, free: 1.68 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.01743, allocations: 174.8 kB / 275.6 MB, free: 1.484 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.0177, allocations: 196.5 kB / 275.7 MB, free: 1.262 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.01815, allocations: 355.2 kB / 276.1 MB, free: 0.8594 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01815, allocations: 0 / 276.1 MB, free: 0.8594 MB / 254.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007542/0.0189, allocations: 0.5182 MB / 276.6 MB, free: 296 kB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.01904, allocations: 126.8 kB / 276.7 MB, free: 144 kB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01905, allocations: 0 / 276.7 MB, free: 144 kB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.01907, allocations: 4 kB / 276.7 MB, free: 140 kB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.433e-05/0.0191, allocations: 0 / 276.7 MB, free: 140 kB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.0191, allocations: 3.938 kB / 276.7 MB, free: 136 kB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01924, allocations: 12.03 kB / 276.8 MB, free: 124 kB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/0.01932, allocations: 55.98 kB / 276.8 MB, free: 68 kB / 254.1 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.000437/0.01976, allocations: 362.5 kB / 277.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.01985, allocations: 55.7 kB / 277.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.01998, allocations: 59.09 kB / 277.3 MB, free: 15.56 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.01998, allocations: 0 / 277.3 MB, free: 15.56 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.01999, allocations: 3.984 kB / 277.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01999, allocations: 4 kB / 277.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.02115, allocations: 0.8746 MB / 278.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.02116, allocations: 12 kB / 278.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-06/0.02116, allocations: 0 / 278.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02116, allocations: 0 / 278.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.0212, allocations: 19.98 kB / 278.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.0212, allocations: 0 / 278.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0212, allocations: 0 / 278.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.02208, allocations: 0.6686 MB / 278.9 MB, free: 13.82 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.02246, allocations: 209.3 kB / 279.1 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.02252, allocations: 12 kB / 279.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.02265, allocations: 11.98 kB / 279.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.02276, allocations: 23.98 kB / 279.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.02284, allocations: 63.92 kB / 279.2 MB, free: 13.51 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005222/0.02336, allocations: 382.9 kB / 279.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02336, allocations: 0 / 279.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.02365, allocations: 44 kB / 279.6 MB, free: 13.09 MB / 270.1 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.0001694/0.02382, allocations: 111 kB / 279.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007364/0.02456, allocations: 0.6085 MB / 280.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02456, allocations: 4 kB / 280.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.02498, allocations: 420.4 kB / 280.7 MB, free: 11.78 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.02562, allocations: 140.4 kB / 280.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.02695, allocations: 0.7977 MB / 281.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.02729, allocations: 189.7 kB / 281.8 MB, free: 10.6 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.02734, allocations: 8.719 kB / 281.9 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.02736, allocations: 12.5 kB / 281.9 MB, free: 10.58 MB / 270.1 MB Notification: Performance of SimCode: time 7.42e-07/0.02736, allocations: 0 / 281.9 MB, free: 10.58 MB / 270.1 MB Notification: Performance of Templates: time 0.01033/0.03769, allocations: 5.02 MB / 286.9 MB, free: 5.539 MB / 270.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.311266027390957]