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.00155/0.00155, allocations: 79.91 kB / 21.18 MB, free: 3.395 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.001441/0.001441, allocations: 141.5 kB / 24.54 MB, free: 44 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.021/1.021, allocations: 173.4 MB / 201.1 MB, free: 9.348 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 3.838e-06/3.838e-06, allocations: 4 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.825e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002337/0.002376, allocations: 1.506 MB / 269.5 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.003895, allocations: 0.8341 MB / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.003957, allocations: 0 / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.836e-05/0.004055, allocations: 19.86 kB / 270.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.004146, allocations: 19.84 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.004468, allocations: 51.83 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.004642, allocations: 131.7 kB / 270.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004748, allocations: 12.23 kB / 270.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.005239, allocations: 0.6082 MB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.005362, allocations: 59.83 kB / 271.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.005398, allocations: 8 kB / 271.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-05/0.005424, allocations: 8 kB / 271.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.005503, allocations: 71.77 kB / 271.3 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.005586, allocations: 59.72 kB / 271.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.005855, allocations: 283 kB / 271.7 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005857, allocations: 0 / 271.7 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005858, allocations: 3.938 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.005864, allocations: 0 / 271.7 MB, free: 2.754 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.0009694/0.006834, allocations: 0.7747 MB / 272.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.006878, allocations: 8.922 kB / 272.4 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.006958, allocations: 44.7 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.007182, allocations: 222.8 kB / 272.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.007209, allocations: 8.375 kB / 272.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.007233, allocations: 12.38 kB / 272.7 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.007573, allocations: 249.7 kB / 273 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.007586, allocations: 192 / 273 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.007605, allocations: 4.375 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.007615, allocations: 7.938 kB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.007732, allocations: 162.8 kB / 273.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.00833, allocations: 0.4954 MB / 273.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.008508, allocations: 193.8 kB / 273.8 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.008623, allocations: 174.5 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.008631, allocations: 3.938 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.008868, allocations: 331 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.00887, allocations: 0 / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006221/0.009492, allocations: 0.6844 MB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.00956, allocations: 170.1 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.01016, allocations: 0.6272 MB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.01019, allocations: 29.7 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.01026, allocations: 147.9 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.0103, allocations: 31.81 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.01039, allocations: 83.2 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.01052, allocations: 0.4923 MB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.01065, allocations: 162.8 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01078, allocations: 186.1 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.01098, allocations: 336.9 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01098, allocations: 0 / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004019/0.01138, allocations: 0.4912 MB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/0.01145, allocations: 130.8 kB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01146, allocations: 4 kB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.01148, allocations: 0 / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.629e-05/0.01151, allocations: 4.125 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.01152, allocations: 4 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01162, allocations: 11.98 kB / 277.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.01167, allocations: 52 kB / 277.9 MB, free: 11.82 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.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.0002561/0.01192, allocations: 389.3 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.01198, allocations: 55.7 kB / 278.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.734e-05/0.01206, allocations: 55.19 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01207, allocations: 11.88 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01207, allocations: 0 / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01207, allocations: 0 / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.0131, allocations: 0.9556 MB / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.0131, allocations: 4 kB / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/0.01311, allocations: 0 / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01311, allocations: 0 / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.01313, allocations: 15.98 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01313, allocations: 0 / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01314, allocations: 0 / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.01361, allocations: 0.7117 MB / 280.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.01384, allocations: 185.3 kB / 280.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.01388, allocations: 12 kB / 280.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.01396, allocations: 8 kB / 280.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.01406, allocations: 27.97 kB / 280.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.0141, allocations: 59.92 kB / 280.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003738/0.01448, allocations: 430.7 kB / 280.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01448, allocations: 0 / 280.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.01469, allocations: 40 kB / 280.9 MB, free: 8.684 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,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 0.0001192/0.01481, allocations: 119.1 kB / 281 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.01521, allocations: 0.5964 MB / 281.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01521, allocations: 0 / 281.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.01542, allocations: 428 kB / 282 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.01581, allocations: 126.7 kB / 282.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.01663, allocations: 0.7486 MB / 282.9 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.01672, allocations: 99.25 kB / 283 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.01676, allocations: 4.797 kB / 283 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.01678, allocations: 16.5 kB / 283 MB, free: 6.309 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01678, allocations: 0 / 283 MB, free: 6.309 MB / 266.7 MB Notification: Performance of Templates: time 0.00687/0.02366, allocations: 5.028 MB / 288 MB, free: 1.258 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] 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","",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.9828325021080673]