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.001982/0.001982, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002205/0.002205, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.467/1.467, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.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 0.001599/0.001599, allocations: 47.91 kB / 371.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2596, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002902/0.2625, allocations: 1.482 MB / 425.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.2644, allocations: 0.8031 MB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.2645, allocations: 0 / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.2646, allocations: 7.922 kB / 426.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/0.2646, allocations: 19.88 kB / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.2649, allocations: 55.88 kB / 426.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2651, allocations: 127.7 kB / 426.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2653, allocations: 20.19 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.266, allocations: 0.5771 MB / 426.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2661, allocations: 75.62 kB / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.2662, allocations: 12 kB / 427 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.634e-05/0.2662, allocations: 8 kB / 427 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.2663, allocations: 67.7 kB / 427.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2664, allocations: 75.36 kB / 427.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.2668, allocations: 381.1 kB / 427.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2668, allocations: 4 kB / 427.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2668, allocations: 0 / 427.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2668, allocations: 0 / 427.5 MB, free: 10.75 MB / 334.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.0008846/0.2677, allocations: 0.6591 MB / 428.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2678, allocations: 12.02 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.2678, allocations: 40.7 kB / 428.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2682, allocations: 212.9 kB / 428.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.2682, allocations: 8.375 kB / 428.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.2682, allocations: 4.375 kB / 428.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.2686, allocations: 248.7 kB / 428.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2686, allocations: 4 kB / 428.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.2687, allocations: 8 kB / 428.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2687, allocations: 4 kB / 428.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.2689, allocations: 178.7 kB / 428.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.2696, allocations: 380.2 kB / 429.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.2699, allocations: 197.3 kB / 429.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.2701, allocations: 183.7 kB / 429.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.2701, allocations: 0 / 429.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.2706, allocations: 321.5 kB / 429.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2706, allocations: 4 kB / 429.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001034/0.2716, allocations: 0.7049 MB / 430.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.2717, allocations: 170.2 kB / 430.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/0.2725, allocations: 0.5168 MB / 431.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.2725, allocations: 33.64 kB / 431.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.2726, allocations: 97.12 kB / 431.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.2726, allocations: 35.72 kB / 431.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2727, allocations: 85.56 kB / 431.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2729, allocations: 326.9 kB / 431.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.2731, allocations: 178.8 kB / 432.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.2733, allocations: 200.5 kB / 432.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.2737, allocations: 351.2 kB / 432.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2738, allocations: 0 / 432.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006523/0.2744, allocations: 0.5052 MB / 433.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2745, allocations: 130.8 kB / 433.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2745, allocations: 0 / 433.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2745, allocations: 4 kB / 433.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.073e-05/0.2746, allocations: 0 / 433.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2746, allocations: 0 / 433.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.2747, allocations: 12.02 kB / 433.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.2748, allocations: 59.94 kB / 433.3 MB, free: 4.328 MB / 334.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.0004293/0.2752, allocations: 366.5 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.2752, allocations: 39.77 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2754, allocations: 67.08 kB / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2754, allocations: 0 / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2754, allocations: 0 / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2754, allocations: 0 / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2765, allocations: 0.8666 MB / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2765, allocations: 0 / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-06/0.2765, allocations: 0 / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2765, allocations: 8 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.2765, allocations: 11.98 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2765, allocations: 0 / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2765, allocations: 0 / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.2773, allocations: 0.6686 MB / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/0.2777, allocations: 201.4 kB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.2777, allocations: 12.19 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2779, allocations: 15.98 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.278, allocations: 23.98 kB / 435.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/0.278, allocations: 63.86 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004916/0.2785, allocations: 382.9 kB / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2785, allocations: 0 / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000285/0.2788, allocations: 51.88 kB / 436.1 MB, free: 1.391 MB / 334.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.0001402/0.279, allocations: 119 kB / 436.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007187/0.2797, allocations: 0.6124 MB / 436.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2797, allocations: 0 / 436.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.2801, allocations: 428.3 kB / 437.2 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.2807, allocations: 127.5 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.282, allocations: 0.81 MB / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2822, allocations: 197.6 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.2823, allocations: 11.44 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2823, allocations: 0 / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Templates: time 0.004946/0.2872, allocations: 2.668 MB / 441 MB, free: 12.14 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/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: 7.455280947033316]