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.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.002075/0.002075, allocations: 104.5 kB / 21.18 MB, free: 0.707 MB / 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.001808/0.001808, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 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.862/1.862, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 55.91 kB / 347.6 MB, free: 9.652 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4992, allocations: 49.16 MB / 396.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003669/0.5029, allocations: 1.501 MB / 398.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.5053, allocations: 0.9107 MB / 399.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.5054, allocations: 1.125 kB / 399.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.5055, allocations: 12.75 kB / 399.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.5057, allocations: 17.91 kB / 399.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.5061, allocations: 58.17 kB / 399.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.5064, allocations: 123.8 kB / 399.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.5065, allocations: 17.89 kB / 399.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009328/0.5074, allocations: 0.5786 MB / 400 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.5076, allocations: 78.19 kB / 400.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.5076, allocations: 10 kB / 400.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.62e-05/0.5077, allocations: 8.969 kB / 400.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.5078, allocations: 62.08 kB / 400.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.508, allocations: 119.8 kB / 400.3 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.5086, allocations: 377.6 kB / 400.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.5086, allocations: 1.859 kB / 400.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5086, allocations: 0 / 400.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.5086, allocations: 3.938 kB / 400.7 MB, free: 7.395 MB / 318.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.0009166/0.5095, allocations: 0.652 MB / 401.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.5096, allocations: 12.95 kB / 401.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.5097, allocations: 40.06 kB / 401.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.51, allocations: 221.6 kB / 401.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.51, allocations: 8.531 kB / 401.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.51, allocations: 11.48 kB / 401.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.5104, allocations: 127.5 kB / 401.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5104, allocations: 5.672 kB / 401.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.5104, allocations: 7.938 kB / 401.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5104, allocations: 4 kB / 401.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.5106, allocations: 58.03 kB / 401.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.5113, allocations: 428.6 kB / 402.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.5115, allocations: 72.98 kB / 402.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.5117, allocations: 61.83 kB / 402.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.5117, allocations: 0 / 402.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.5121, allocations: 221 kB / 402.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.5121, allocations: 0 / 402.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009999/0.5131, allocations: 467.8 kB / 403 MB, free: 5.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5132, allocations: 167.8 kB / 403.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008305/0.514, allocations: 0.5119 MB / 403.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.514, allocations: 30.28 kB / 403.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.5141, allocations: 108.3 kB / 403.8 MB, free: 5.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.5142, allocations: 32.16 kB / 403.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.5144, allocations: 83.77 kB / 404 MB, free: 5.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5145, allocations: 329.6 kB / 404.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.5147, allocations: 55.58 kB / 404.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.5149, allocations: 73.92 kB / 404.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.5153, allocations: 346.5 kB / 404.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5153, allocations: 4 kB / 404.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007546/0.516, allocations: 384.3 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.5161, allocations: 123.8 kB / 405.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5161, allocations: 1.5 kB / 405.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.5162, allocations: 1.438 kB / 405.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-05/0.5162, allocations: 4.594 kB / 405.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5162, allocations: 1.469 kB / 405.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.5164, allocations: 9.438 kB / 405.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.5165, allocations: 62.16 kB / 405.3 MB, free: 3.988 MB / 318.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.0005251/0.5171, allocations: 369 kB / 405.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.5171, allocations: 40.19 kB / 405.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.5173, allocations: 59.31 kB / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.5173, allocations: 1.906 kB / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5173, allocations: 1.156 kB / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5173, allocations: 0 / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.5187, allocations: 0.7993 MB / 406.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5187, allocations: 6.047 kB / 406.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-06/0.5187, allocations: 0 / 406.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5187, allocations: 8.5 kB / 406.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.5188, allocations: 14.02 kB / 406.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5188, allocations: 0 / 406.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5188, allocations: 4.453 kB / 406.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.5196, allocations: 0.529 MB / 407.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.52, allocations: 214.6 kB / 407.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.5201, allocations: 12.95 kB / 407.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.5202, allocations: 12.94 kB / 407.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.5204, allocations: 30.16 kB / 407.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/0.5205, allocations: 59.02 kB / 407.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005812/0.5211, allocations: 387.3 kB / 407.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5211, allocations: 3.938 kB / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.5214, allocations: 45.2 kB / 407.9 MB, free: 2.348 MB / 318.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.0001698/0.5216, allocations: 116 kB / 408 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.5222, allocations: 375.7 kB / 408.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5222, allocations: 4.062 kB / 408.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.5224, allocations: 301.4 kB / 408.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.5232, allocations: 117.8 kB / 408.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.5248, allocations: 0.6544 MB / 409.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.5252, allocations: 0.8 MB / 410.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.5253, allocations: 14.45 kB / 410.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.5254, allocations: 11.47 kB / 410.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5254, allocations: 0 / 410.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of Templates: time 0.01178/0.5372, allocations: 4.71 MB / 415 MB, free: 14.36 MB / 334.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] 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: 5.762126604095101]