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.001998/0.001998, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002006/0.002006, allocations: 168.7 kB / 25.03 MB, free: 8.41 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.411/1.411, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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.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 2.074e-06/2.074e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.128e-05/4.335e-05, allocations: 10.25 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003552/0.003595, allocations: 1.487 MB / 251.9 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.005987, allocations: 0.8546 MB / 252.7 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.006054, allocations: 0 / 252.7 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.006172, allocations: 11.86 kB / 252.7 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.006274, allocations: 23.8 kB / 252.7 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.00659, allocations: 55.81 kB / 252.8 MB, free: 5.379 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.006835, allocations: 135.7 kB / 252.9 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.006944, allocations: 8.234 kB / 252.9 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008687/0.007813, allocations: 0.6044 MB / 253.5 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.008007, allocations: 59.83 kB / 253.6 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.008078, allocations: 11.98 kB / 253.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.008131, allocations: 12 kB / 253.6 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.008265, allocations: 71.7 kB / 253.7 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.0084, allocations: 55.73 kB / 253.7 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.008938, allocations: 374.8 kB / 254.1 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.008943, allocations: 0 / 254.1 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.008945, allocations: 0 / 254.1 MB, free: 4.055 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.008955, allocations: 0 / 254.1 MB, free: 4.055 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.001153/0.01011, allocations: 0.7977 MB / 254.9 MB, free: 3.195 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.01016, allocations: 23.97 kB / 254.9 MB, free: 3.172 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.01027, allocations: 48.7 kB / 255 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.01064, allocations: 222.8 kB / 255.2 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.01067, allocations: 4.375 kB / 255.2 MB, free: 2.875 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.0107, allocations: 8.375 kB / 255.2 MB, free: 2.867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.01118, allocations: 248.6 kB / 255.5 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01119, allocations: 4.172 kB / 255.5 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.01122, allocations: 12.36 kB / 255.5 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.01123, allocations: 7.938 kB / 255.5 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.01149, allocations: 178.7 kB / 255.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.01254, allocations: 0.5423 MB / 256.2 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.01288, allocations: 213.8 kB / 256.4 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.01313, allocations: 190.5 kB / 256.6 MB, free: 1.336 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.01315, allocations: 7.938 kB / 256.6 MB, free: 1.328 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000492/0.01365, allocations: 339.1 kB / 256.9 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.01365, allocations: 0 / 256.9 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001344/0.01499, allocations: 0.7322 MB / 257.7 MB, free: 136 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.01514, allocations: 170.2 kB / 257.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.01624, allocations: 0.6936 MB / 258.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.01627, allocations: 33.7 kB / 258.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.0164, allocations: 155.8 kB / 258.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.01646, allocations: 31.84 kB / 258.7 MB, free: 14.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.01661, allocations: 95.16 kB / 258.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002993/0.01691, allocations: 0.5001 MB / 259.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.01715, allocations: 178.8 kB / 259.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.01743, allocations: 206.1 kB / 259.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.01795, allocations: 368.9 kB / 260.1 MB, free: 13.53 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01796, allocations: 112 / 260.1 MB, free: 13.53 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008506/0.01881, allocations: 0.5146 MB / 260.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.01893, allocations: 138.4 kB / 260.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01894, allocations: 0 / 260.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.01896, allocations: 4 kB / 260.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.01899, allocations: 0 / 260.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01899, allocations: 128 / 260.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.01914, allocations: 15.98 kB / 260.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.673e-05/0.01923, allocations: 55.94 kB / 260.8 MB, free: 12.73 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.0004749/0.0197, allocations: 397.2 kB / 261.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.01979, allocations: 51.7 kB / 261.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.0199, allocations: 55.09 kB / 261.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.0199, allocations: 0 / 261.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01991, allocations: 4 kB / 261.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01991, allocations: 0 / 261.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.02145, allocations: 1.035 MB / 262.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.02145, allocations: 3.984 kB / 262.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.02146, allocations: 7.984 kB / 262.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.02147, allocations: 0 / 262.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.0215, allocations: 8 kB / 262.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.0215, allocations: 4 kB / 262.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.0215, allocations: 0 / 262.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.0225, allocations: 0.7471 MB / 263.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.02294, allocations: 189.3 kB / 263.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.023, allocations: 8 kB / 263.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.02313, allocations: 11.98 kB / 263.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.02326, allocations: 27.97 kB / 263.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.02335, allocations: 67.92 kB / 263.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006857/0.02403, allocations: 454.7 kB / 263.8 MB, free: 9.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02403, allocations: 0 / 263.8 MB, free: 9.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.02436, allocations: 40 kB / 263.9 MB, free: 9.449 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 0.0002119/0.02457, allocations: 126.3 kB / 264 MB, free: 9.316 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.02557, allocations: 0.655 MB / 264.7 MB, free: 8.559 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02557, allocations: 0 / 264.7 MB, free: 8.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.02606, allocations: 458.1 kB / 265.1 MB, free: 8.035 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.02683, allocations: 143.2 kB / 265.2 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.02839, allocations: 0.7673 MB / 266 MB, free: 7.086 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.02871, allocations: 185.8 kB / 266.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.02876, allocations: 8.656 kB / 266.2 MB, free: 6.875 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.0288, allocations: 16.5 kB / 266.2 MB, free: 6.859 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02881, allocations: 0 / 266.2 MB, free: 6.859 MB / 250.7 MB Notification: Performance of Templates: time 0.01107/0.03988, allocations: 4.996 MB / 271.2 MB, free: 1.773 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.494740739930421]