Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001326/0.001326, allocations: 83.89 kB / 21.19 MB, free: 3.379 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.001479/0.001479, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 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 1.027/1.027, allocations: 173.4 MB / 201.1 MB, free: 9.297 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.588e-05, allocations: 6.25 kB / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002265/0.002291, allocations: 1.514 MB / 269.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.003928, allocations: 0.8342 MB / 270.3 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.003979, allocations: 3.938 kB / 270.3 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.00408, allocations: 7.922 kB / 270.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.004163, allocations: 15.86 kB / 270.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.004425, allocations: 51.81 kB / 270.4 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.004609, allocations: 143.7 kB / 270.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.004702, allocations: 8.234 kB / 270.6 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.005299, allocations: 0.6004 MB / 271.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.005436, allocations: 67.77 kB / 271.2 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.005477, allocations: 8 kB / 271.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-05/0.005507, allocations: 12 kB / 271.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.005591, allocations: 63.77 kB / 271.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.005936, allocations: 63.66 kB / 271.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.006245, allocations: 279 kB / 271.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006247, allocations: 0 / 271.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006248, allocations: 4 kB / 271.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006252, allocations: 0 / 271.6 MB, free: 2.711 MB / 250.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.0006769/0.006929, allocations: 0.7785 MB / 272.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.006967, allocations: 12.92 kB / 272.4 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.007042, allocations: 44.7 kB / 272.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.007268, allocations: 218.9 kB / 272.7 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.00729, allocations: 4.375 kB / 272.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.007316, allocations: 12.38 kB / 272.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.00763, allocations: 249.6 kB / 273 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.00764, allocations: 8.062 kB / 273 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.00766, allocations: 8.375 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.00767, allocations: 3.938 kB / 273 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.007803, allocations: 170.8 kB / 273.1 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.008441, allocations: 0.4915 MB / 273.6 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.008611, allocations: 189.8 kB / 273.8 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.008744, allocations: 170.5 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.008752, allocations: 7.938 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.009021, allocations: 323.2 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.009022, allocations: 4 kB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007154/0.009738, allocations: 0.6854 MB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.009811, allocations: 170.2 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/0.01052, allocations: 0.6232 MB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01054, allocations: 29.7 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.01061, allocations: 147.9 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.01065, allocations: 35.66 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.01074, allocations: 87.2 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01086, allocations: 0.4923 MB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.01099, allocations: 162.8 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.01113, allocations: 190.1 kB / 276.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01137, allocations: 335.8 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01137, allocations: 0 / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004563/0.01183, allocations: 0.4912 MB / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.0119, allocations: 122.8 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.0119, allocations: 4 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01192, allocations: 0 / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.255e-05/0.01194, allocations: 128 / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01195, allocations: 4.031 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01207, allocations: 16.11 kB / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.01213, allocations: 63.92 kB / 277.9 MB, free: 11.76 MB / 266.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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0005228/0.01265, allocations: 385.2 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.01271, allocations: 55.7 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.01281, allocations: 55.08 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01281, allocations: 0 / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01282, allocations: 0 / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01282, allocations: 0 / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.01376, allocations: 0.9594 MB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01376, allocations: 4 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-06/0.01377, allocations: 0 / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01377, allocations: 0 / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.01379, allocations: 19.98 kB / 279.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01379, allocations: 0 / 279.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0138, allocations: 0 / 279.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.01434, allocations: 0.7038 MB / 280.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.01463, allocations: 185.4 kB / 280.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.01467, allocations: 12 kB / 280.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01478, allocations: 4 kB / 280.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.01487, allocations: 35.91 kB / 280.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.01492, allocations: 67.91 kB / 280.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000452/0.01538, allocations: 426.7 kB / 280.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01538, allocations: 0 / 280.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.01565, allocations: 44 kB / 280.9 MB, free: 8.629 MB / 266.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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001115/0.01576, allocations: 122.1 kB / 281 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.01625, allocations: 0.5926 MB / 281.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01625, allocations: 0 / 281.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.01651, allocations: 436 kB / 282 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.017, allocations: 128 kB / 282.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.0179, allocations: 0.7408 MB / 282.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.018, allocations: 103.2 kB / 283 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.01803, allocations: 4.734 kB / 283 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.01805, allocations: 16.44 kB / 283 MB, free: 6.254 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01805, allocations: 0 / 283 MB, free: 6.254 MB / 266.7 MB Notification: Performance of Templates: time 0.007393/0.02545, allocations: 5.025 MB / 288 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.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.9865977922454476]