Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.00104/0.00104, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001021/0.001021, allocations: 155.2 kB / 25.6 MB, free: 8.598 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.029/1.029, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.35e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001949/0.001972, allocations: 1.511 MB / 253 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.003513, allocations: 0.8623 MB / 253.8 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.003581, allocations: 0 / 253.8 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003687, allocations: 15.86 kB / 253.9 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.00376, allocations: 19.86 kB / 253.9 MB, free: 4.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.003985, allocations: 51.88 kB / 253.9 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.00414, allocations: 127.7 kB / 254.1 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.004232, allocations: 12.23 kB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.004709, allocations: 0.6044 MB / 254.7 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.768e-05/0.004807, allocations: 63.81 kB / 254.7 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.00484, allocations: 8 kB / 254.7 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.004862, allocations: 8 kB / 254.7 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.004923, allocations: 71.66 kB / 254.8 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.00499, allocations: 55.8 kB / 254.9 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.005201, allocations: 290.9 kB / 255.2 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005203, allocations: 0 / 255.2 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005204, allocations: 0 / 255.2 MB, free: 3.535 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005208, allocations: 0 / 255.2 MB, free: 3.535 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.0005923/0.0058, allocations: 0.7824 MB / 255.9 MB, free: 2.691 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.005844, allocations: 11.98 kB / 256 MB, free: 2.68 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.005917, allocations: 48.7 kB / 256 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.006129, allocations: 222.8 kB / 256.2 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.006151, allocations: 4.375 kB / 256.2 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.00617, allocations: 8.375 kB / 256.2 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.00645, allocations: 237.7 kB / 256.5 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.00646, allocations: 4.188 kB / 256.5 MB, free: 2.105 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.006476, allocations: 4.375 kB / 256.5 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.006485, allocations: 3.938 kB / 256.5 MB, free: 2.098 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.707e-05/0.006582, allocations: 162.4 kB / 256.6 MB, free: 1.918 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.006995, allocations: 412 kB / 257 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.007114, allocations: 181.8 kB / 257.2 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.007198, allocations: 166.5 kB / 257.4 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.007205, allocations: 4 kB / 257.4 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.007386, allocations: 319.1 kB / 257.7 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.007388, allocations: 0 / 257.7 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005265/0.007914, allocations: 0.6542 MB / 258.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.008002, allocations: 170.2 kB / 258.5 MB, free: 15.78 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.008407, allocations: 0.5061 MB / 259 MB, free: 15.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.008424, allocations: 25.7 kB / 259 MB, free: 15.22 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.008477, allocations: 155.8 kB / 259.2 MB, free: 15.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.008501, allocations: 19.84 kB / 259.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.008636, allocations: 95.14 kB / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.008739, allocations: 0.4962 MB / 259.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.008822, allocations: 154.8 kB / 260 MB, free: 14.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.008914, allocations: 178.1 kB / 260.1 MB, free: 14.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.009069, allocations: 328.9 kB / 260.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009071, allocations: 0 / 260.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003175/0.009389, allocations: 479.1 kB / 260.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.00959, allocations: 126.8 kB / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.009595, allocations: 0 / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.009606, allocations: 4.031 kB / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-05/0.00962, allocations: 0 / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.009624, allocations: 4 kB / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.009702, allocations: 12 kB / 261.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.009744, allocations: 59.92 kB / 261.1 MB, free: 12.93 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.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.0002313/0.009976, allocations: 397.3 kB / 261.5 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.01002, allocations: 51.7 kB / 261.6 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.01009, allocations: 51.09 kB / 261.6 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01009, allocations: 0 / 261.6 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01009, allocations: 4 kB / 261.6 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0101, allocations: 7.984 kB / 261.6 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.01065, allocations: 0.8407 MB / 262.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01066, allocations: 0 / 262.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-06/0.01066, allocations: 3.938 kB / 262.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01066, allocations: 0 / 262.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01068, allocations: 23.92 kB / 262.5 MB, free: 11.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01068, allocations: 3.938 kB / 262.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01068, allocations: 0 / 262.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.01107, allocations: 0.677 MB / 263.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.01129, allocations: 185.3 kB / 263.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.01132, allocations: 19.98 kB / 263.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.01139, allocations: 8 kB / 263.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.01145, allocations: 19.98 kB / 263.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.01148, allocations: 59.92 kB / 263.5 MB, free: 10.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.01168, allocations: 302.9 kB / 263.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 0 / 263.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.01188, allocations: 44 kB / 263.8 MB, free: 10.07 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,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 9.84e-05/0.01198, allocations: 114.2 kB / 263.9 MB, free: 9.945 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005859/0.01257, allocations: 0.573 MB / 264.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01257, allocations: 0 / 264.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.01274, allocations: 422.3 kB / 264.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.01309, allocations: 131.5 kB / 265 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006926/0.01378, allocations: 0.7437 MB / 265.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.01384, allocations: 95.27 kB / 265.9 MB, free: 7.758 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.472e-05/0.01387, allocations: 8.719 kB / 265.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.01412, allocations: 198.1 kB / 266.1 MB, free: 7.555 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01412, allocations: 0 / 266.1 MB, free: 7.555 MB / 250.7 MB Notification: Performance of Templates: time 0.005406/0.01952, allocations: 4.728 MB / 270.8 MB, free: 2.742 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.838363343849778]