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.0008028/0.0008028, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003106/0.003106, allocations: 143.4 kB / 24.68 MB, free: 8.906 MB / 18.57 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 0.8038/0.8038, allocations: 173.4 MB / 201.2 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] 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.482e-06/1.482e-06, allocations: 3.938 kB / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.831e-05, allocations: 2.281 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001841/0.001859, allocations: 1.471 MB / 321.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003087, allocations: 0.803 MB / 322 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.003127, allocations: 0 / 322 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.002e-05/0.003207, allocations: 7.922 kB / 322 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.003273, allocations: 27.78 kB / 322 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.003494, allocations: 47.89 kB / 322 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.003653, allocations: 143.5 kB / 322.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.098e-05/0.003734, allocations: 8.234 kB / 322.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.004126, allocations: 0.5927 MB / 322.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.004226, allocations: 75.73 kB / 322.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.004254, allocations: 12 kB / 322.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.00427, allocations: 8 kB / 322.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.004341, allocations: 67.72 kB / 322.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.004404, allocations: 55.73 kB / 323 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.004658, allocations: 370.8 kB / 323.4 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004661, allocations: 3.984 kB / 323.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004662, allocations: 4 kB / 323.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.004666, allocations: 0 / 323.4 MB, free: 2.168 MB / 282.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.0004774/0.005144, allocations: 0.6545 MB / 324 MB, free: 1.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.005173, allocations: 8.922 kB / 324 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.005225, allocations: 44.69 kB / 324.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.005412, allocations: 220.1 kB / 324.3 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.005428, allocations: 4.375 kB / 324.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.005445, allocations: 8.375 kB / 324.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.005708, allocations: 248.9 kB / 324.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005716, allocations: 192 / 324.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.005732, allocations: 8.375 kB / 324.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.005737, allocations: 11.88 kB / 324.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.005854, allocations: 178.8 kB / 324.7 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.006251, allocations: 376.3 kB / 325.1 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.006403, allocations: 197.3 kB / 325.3 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.006525, allocations: 183.8 kB / 325.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.006535, allocations: 3.938 kB / 325.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.006774, allocations: 332.4 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.006776, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005807/0.007356, allocations: 0.7088 MB / 326.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.007416, allocations: 166.2 kB / 326.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.007788, allocations: 0.5168 MB / 327.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.007807, allocations: 29.7 kB / 327.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.007854, allocations: 97.12 kB / 327.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.007881, allocations: 35.7 kB / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.008156, allocations: 81.56 kB / 327.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.008234, allocations: 322.8 kB / 327.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.008342, allocations: 174.8 kB / 327.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.008456, allocations: 200.4 kB / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.008654, allocations: 355.4 kB / 328.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008656, allocations: 0 / 328.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003415/0.008997, allocations: 0.5107 MB / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.009054, allocations: 134.7 kB / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.009059, allocations: 0 / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.009072, allocations: 0 / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.626e-05/0.009088, allocations: 0 / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.009093, allocations: 0 / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.009177, allocations: 15.98 kB / 329.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.009221, allocations: 52 kB / 329.2 MB, free: 11.75 MB / 298.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.0002061/0.009427, allocations: 366.7 kB / 329.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.009459, allocations: 43.7 kB / 329.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.009533, allocations: 67.08 kB / 329.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.009536, allocations: 4 kB / 329.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.009539, allocations: 0 / 329.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.009542, allocations: 0 / 329.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.01012, allocations: 0.8731 MB / 330.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01012, allocations: 0 / 330.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-06/0.01012, allocations: 0 / 330.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01012, allocations: 0 / 330.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.01014, allocations: 19.98 kB / 330.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01014, allocations: 3.938 kB / 330.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01014, allocations: 0 / 330.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.01055, allocations: 0.6686 MB / 331.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.01077, allocations: 209.3 kB / 331.4 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.0108, allocations: 12 kB / 331.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.01087, allocations: 11.98 kB / 331.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.01095, allocations: 23.98 kB / 331.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.01099, allocations: 63.91 kB / 331.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002714/0.01126, allocations: 386.9 kB / 331.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01126, allocations: 0 / 331.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.01143, allocations: 48 kB / 331.9 MB, free: 8.781 MB / 298.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 8.315e-05/0.01152, allocations: 115 kB / 332.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.01189, allocations: 0.6086 MB / 332.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01189, allocations: 4 kB / 332.7 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.01207, allocations: 420.5 kB / 333.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.01241, allocations: 126.4 kB / 333.2 MB, free: 7.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.01313, allocations: 0.8132 MB / 334 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.01327, allocations: 197.8 kB / 334.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.01329, allocations: 12.5 kB / 334.2 MB, free: 6.258 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01329, allocations: 0 / 334.2 MB, free: 6.258 MB / 298.7 MB Notification: Performance of Templates: time 0.002924/0.01622, allocations: 2.687 MB / 336.9 MB, free: 3.523 MB / 298.7 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.34925352782011]