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.001895/0.001895, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002962/0.002962, allocations: 164.6 kB / 25.03 MB, free: 8.41 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.412/1.412, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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 2.054e-06/2.054e-06, allocations: 0 / 250.4 MB, free: 7.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.662e-05/3.867e-05, allocations: 2.312 kB / 250.4 MB, free: 7.715 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004214/0.004253, allocations: 1.483 MB / 251.8 MB, free: 6.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.006506, allocations: 0.8585 MB / 252.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.006567, allocations: 0 / 252.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.006682, allocations: 11.92 kB / 252.7 MB, free: 5.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.006786, allocations: 27.78 kB / 252.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.007083, allocations: 47.83 kB / 252.8 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.007435, allocations: 131.7 kB / 252.9 MB, free: 5.137 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.007536, allocations: 16.23 kB / 252.9 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007759/0.008311, allocations: 0.6005 MB / 253.5 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.008466, allocations: 71.73 kB / 253.6 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.00853, allocations: 12 kB / 253.6 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.698e-05/0.008567, allocations: 8 kB / 253.6 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.008669, allocations: 67.72 kB / 253.7 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.008784, allocations: 59.72 kB / 253.7 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.009263, allocations: 370.8 kB / 254.1 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.009268, allocations: 0 / 254.1 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009269, allocations: 0 / 254.1 MB, free: 3.938 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.009276, allocations: 0 / 254.1 MB, free: 3.938 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.001106/0.01038, allocations: 0.8094 MB / 254.9 MB, free: 3.062 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.01043, allocations: 11.98 kB / 254.9 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.01055, allocations: 48.7 kB / 255 MB, free: 3.004 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.01094, allocations: 218.9 kB / 255.2 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.01097, allocations: 8.375 kB / 255.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.01101, allocations: 12.36 kB / 255.2 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.01146, allocations: 256.9 kB / 255.5 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01147, allocations: 192 / 255.5 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.0115, allocations: 4.375 kB / 255.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.01151, allocations: 3.938 kB / 255.5 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.01176, allocations: 178.8 kB / 255.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.0128, allocations: 0.5384 MB / 256.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.01336, allocations: 221.8 kB / 256.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.01362, allocations: 190.5 kB / 256.6 MB, free: 1.211 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.01363, allocations: 7.922 kB / 256.6 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.01408, allocations: 339.1 kB / 256.9 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.01408, allocations: 0 / 256.9 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001126/0.01521, allocations: 0.7283 MB / 257.7 MB, free: 12 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.01536, allocations: 174.2 kB / 257.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.01641, allocations: 0.6936 MB / 258.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.01645, allocations: 29.7 kB / 258.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01656, allocations: 159.8 kB / 258.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.01661, allocations: 27.8 kB / 258.7 MB, free: 14.87 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.01678, allocations: 99.16 kB / 258.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.01705, allocations: 0.4963 MB / 259.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.01728, allocations: 182.7 kB / 259.5 MB, free: 14.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.01752, allocations: 206.1 kB / 259.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.01797, allocations: 372.7 kB / 260.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01798, allocations: 0 / 260.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007749/0.01875, allocations: 0.5186 MB / 260.6 MB, free: 12.83 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.01887, allocations: 134.4 kB / 260.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01888, allocations: 0 / 260.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01889, allocations: 128 / 260.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.41e-05/0.01892, allocations: 4 kB / 260.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01892, allocations: 0 / 260.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.01906, allocations: 15.98 kB / 260.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.01913, allocations: 55.94 kB / 260.8 MB, free: 12.6 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.0004342/0.01957, allocations: 393.2 kB / 261.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.01965, allocations: 51.7 kB / 261.2 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.01976, allocations: 55.09 kB / 261.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01976, allocations: 4 kB / 261.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01977, allocations: 0 / 261.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01977, allocations: 0 / 261.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.02124, allocations: 1.049 MB / 262.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02124, allocations: 0 / 262.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.02125, allocations: 0 / 262.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.02125, allocations: 0 / 262.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.02129, allocations: 12 kB / 262.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.02129, allocations: 0 / 262.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02129, allocations: 0 / 262.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.02225, allocations: 0.7433 MB / 263.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/0.02289, allocations: 189.3 kB / 263.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.02295, allocations: 12 kB / 263.3 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.02308, allocations: 11.98 kB / 263.3 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.0232, allocations: 27.97 kB / 263.3 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.02328, allocations: 59.88 kB / 263.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006448/0.02392, allocations: 458.7 kB / 263.8 MB, free: 9.367 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02392, allocations: 0 / 263.8 MB, free: 9.367 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000297/0.02422, allocations: 44 kB / 263.9 MB, free: 9.324 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.0001696/0.02439, allocations: 123.1 kB / 264 MB, free: 9.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000867/0.02526, allocations: 0.6512 MB / 264.6 MB, free: 8.438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02526, allocations: 0 / 264.6 MB, free: 8.438 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.02577, allocations: 464 kB / 265.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.02647, allocations: 134.5 kB / 265.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.02785, allocations: 0.7712 MB / 266 MB, free: 6.961 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.02812, allocations: 177.7 kB / 266.2 MB, free: 6.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.788e-05/0.02817, allocations: 12.78 kB / 266.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.0282, allocations: 16.5 kB / 266.2 MB, free: 6.738 MB / 250.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02821, allocations: 0 / 266.2 MB, free: 6.738 MB / 250.7 MB Notification: Performance of Templates: time 0.01016/0.03836, allocations: 4.993 MB / 271.2 MB, free: 1.664 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.5457526369718835]