Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001049/0.001049, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001078/0.001078, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.485e-05, allocations: 2.312 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002094/0.002129, allocations: 1.543 MB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.00365, allocations: 0.8575 MB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.003705, allocations: 3.938 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.003808, allocations: 7.922 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.003892, allocations: 19.8 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.004168, allocations: 55.88 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004342, allocations: 131.7 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.00445, allocations: 12.17 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.004945, allocations: 0.5927 MB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.005065, allocations: 75.73 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.0051, allocations: 12 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.005125, allocations: 8 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.0052, allocations: 67.72 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.005274, allocations: 47.8 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.005531, allocations: 282.9 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005534, allocations: 4 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005536, allocations: 4 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.005542, allocations: 0 / 276.7 MB, free: 13.68 MB / 266.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.0006572/0.006199, allocations: 0.7901 MB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.006242, allocations: 8.031 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.006323, allocations: 44.7 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.006538, allocations: 219 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.00656, allocations: 4.375 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.006581, allocations: 8.375 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.006881, allocations: 245.7 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.00689, allocations: 4.188 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.006907, allocations: 8.312 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.006915, allocations: 3.938 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.007023, allocations: 170.8 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.007567, allocations: 0.4915 MB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.007728, allocations: 189.8 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.007849, allocations: 170.5 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.007858, allocations: 7.938 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.008109, allocations: 323.1 kB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.008111, allocations: 0 / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006725/0.008784, allocations: 0.6932 MB / 280 MB, free: 9.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.008869, allocations: 162.2 kB / 280.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.009452, allocations: 0.6232 MB / 280.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.009473, allocations: 29.7 kB / 280.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.009542, allocations: 147.8 kB / 281 MB, free: 8.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.009575, allocations: 35.77 kB / 281 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.009656, allocations: 91.28 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.009771, allocations: 0.4961 MB / 281.6 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.009884, allocations: 170.8 kB / 281.8 MB, free: 8.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01, allocations: 186.2 kB / 282 MB, free: 7.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.01021, allocations: 338.8 kB / 282.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01022, allocations: 0 / 282.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003818/0.0106, allocations: 495.1 kB / 282.8 MB, free: 6.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/0.01067, allocations: 129.4 kB / 282.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01068, allocations: 0 / 282.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.0107, allocations: 3.984 kB / 282.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.152e-05/0.01072, allocations: 4.031 kB / 282.9 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01073, allocations: 4 kB / 282.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.01083, allocations: 15.98 kB / 282.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.01088, allocations: 55.94 kB / 283 MB, free: 6.727 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.000506/0.01138, allocations: 393.2 kB / 283.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.01143, allocations: 51.7 kB / 283.4 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.964e-05/0.0115, allocations: 55.08 kB / 283.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.0115, allocations: 0 / 283.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.0115, allocations: 4 kB / 283.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01151, allocations: 0 / 283.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.01226, allocations: 0.9594 MB / 284.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01226, allocations: 0 / 284.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-06/0.01226, allocations: 0 / 284.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01227, allocations: 3.984 kB / 284.4 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.01229, allocations: 16 kB / 284.4 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01229, allocations: 0 / 284.4 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01229, allocations: 4 kB / 284.4 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.01289, allocations: 0.7043 MB / 285.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.01312, allocations: 181.4 kB / 285.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.01316, allocations: 12.19 kB / 285.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.01324, allocations: 16 kB / 285.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.01334, allocations: 27.91 kB / 285.4 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.01338, allocations: 63.92 kB / 285.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.01373, allocations: 430.7 kB / 285.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01373, allocations: 0 / 285.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000195/0.01392, allocations: 40 kB / 285.9 MB, free: 3.609 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.0001277/0.01405, allocations: 110.2 kB / 286 MB, free: 3.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.01457, allocations: 0.6004 MB / 286.6 MB, free: 2.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01457, allocations: 4.062 kB / 286.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.01477, allocations: 428 kB / 287 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.01517, allocations: 132.8 kB / 287.2 MB, free: 2.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007678/0.01594, allocations: 0.7447 MB / 287.9 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.852e-05/0.01601, allocations: 95.27 kB / 288 MB, free: 1.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.727e-05/0.01604, allocations: 8.719 kB / 288 MB, free: 1.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.01608, allocations: 16.5 kB / 288 MB, free: 1.227 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01608, allocations: 4 kB / 288 MB, free: 1.223 MB / 266.7 MB Notification: Performance of Templates: time 0.00627/0.02235, allocations: 5.014 MB / 293 MB, free: 12.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0005663307383657]