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.00127/0.00127, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001517/0.001517, allocations: 170.2 kB / 25.69 MB, free: 8.453 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.8403/0.8403, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.643e-06/1.643e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.442e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002603/0.002628, allocations: 1.507 MB / 253 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.004557, allocations: 0.8817 MB / 253.9 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.004617, allocations: 0 / 253.9 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.004721, allocations: 11.86 kB / 253.9 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.00481, allocations: 11.88 kB / 253.9 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.0051, allocations: 55.81 kB / 254 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.00531, allocations: 131.7 kB / 254.1 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.005396, allocations: 12.22 kB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006346/0.00603, allocations: 0.542 MB / 254.7 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.006185, allocations: 67.81 kB / 254.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.006224, allocations: 12 kB / 254.8 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.00625, allocations: 8 kB / 254.8 MB, free: 4 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.006335, allocations: 71.7 kB / 254.8 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.604e-05/0.006421, allocations: 55.73 kB / 254.9 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.006724, allocations: 279 kB / 255.2 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.006727, allocations: 4 kB / 255.2 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.006729, allocations: 3.984 kB / 255.2 MB, free: 3.594 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.006735, allocations: 3.938 kB / 255.2 MB, free: 3.59 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.0006424/0.007378, allocations: 0.6148 MB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.007418, allocations: 15.97 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.007487, allocations: 28.92 kB / 255.8 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.007713, allocations: 216 kB / 256 MB, free: 2.645 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.007736, allocations: 8.375 kB / 256.1 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.007762, allocations: 8.375 kB / 256.1 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.008069, allocations: 225.7 kB / 256.3 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.008077, allocations: 4.188 kB / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.008095, allocations: 384 / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.008103, allocations: 7.938 kB / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.008225, allocations: 154.8 kB / 256.4 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.008578, allocations: 212.2 kB / 256.7 MB, free: 1.965 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.008738, allocations: 165.4 kB / 256.8 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.008863, allocations: 163.6 kB / 257 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.008869, allocations: 0 / 257 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.009113, allocations: 301.4 kB / 257.3 MB, free: 1.238 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.009114, allocations: 0 / 257.3 MB, free: 1.238 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004554/0.009569, allocations: 0.5174 MB / 257.8 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.009648, allocations: 170.2 kB / 257.9 MB, free: 452 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.01004, allocations: 355.2 kB / 258.3 MB, free: 84 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.01007, allocations: 29.81 kB / 258.3 MB, free: 48 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.01013, allocations: 105 kB / 258.4 MB, free: 15.94 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.01017, allocations: 31.77 kB / 258.5 MB, free: 15.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.01026, allocations: 69.5 kB / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.01036, allocations: 326.8 kB / 258.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.01047, allocations: 146.8 kB / 259 MB, free: 15.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.01059, allocations: 164.5 kB / 259.2 MB, free: 15.15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.01081, allocations: 319.3 kB / 259.5 MB, free: 14.78 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.01082, allocations: 0 / 259.5 MB, free: 14.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002896/0.01111, allocations: 355.2 kB / 259.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.01118, allocations: 130.7 kB / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01119, allocations: 0 / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.0112, allocations: 0 / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.01122, allocations: 0 / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.01122, allocations: 0 / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01133, allocations: 16 kB / 260 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.01139, allocations: 55.95 kB / 260 MB, free: 14.16 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.0003003/0.01169, allocations: 345.4 kB / 260.3 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.01175, allocations: 39.84 kB / 260.4 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.01185, allocations: 59.2 kB / 260.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01185, allocations: 0 / 260.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.01185, allocations: 4 kB / 260.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01186, allocations: 0 / 260.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.01239, allocations: 0.5822 MB / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.0124, allocations: 0 / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.0124, allocations: 0 / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.0124, allocations: 7.938 kB / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.01243, allocations: 15.98 kB / 261.1 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01243, allocations: 0 / 261.1 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01243, allocations: 0 / 261.1 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.0128, allocations: 497 kB / 261.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.01305, allocations: 143.4 kB / 261.7 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.0131, allocations: 12 kB / 261.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.01321, allocations: 15.97 kB / 261.7 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.01329, allocations: 15.98 kB / 261.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.01334, allocations: 55.92 kB / 261.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.01355, allocations: 156.6 kB / 261.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01355, allocations: 3.938 kB / 261.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.01384, allocations: 44 kB / 262 MB, free: 12.01 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.000129/0.01396, allocations: 92.17 kB / 262.1 MB, free: 11.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.01439, allocations: 0.5546 MB / 262.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.01439, allocations: 4 kB / 262.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.01466, allocations: 409.9 kB / 263 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.01509, allocations: 123.7 kB / 263.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.01607, allocations: 0.7371 MB / 263.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.01616, allocations: 99.25 kB / 264 MB, free: 9.758 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.371e-05/0.01621, allocations: 8.719 kB / 264 MB, free: 9.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.01656, allocations: 175.2 kB / 264.2 MB, free: 9.578 MB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01656, allocations: 0 / 264.2 MB, free: 9.578 MB / 250.7 MB Notification: Performance of Templates: time 0.007704/0.02427, allocations: 4.617 MB / 268.8 MB, free: 4.887 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.578748312778771]