Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.001963/0.001963, allocations: 83.02 kB / 21.99 MB, free: 5.184 MB / 14.72 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.001487/0.001487, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 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.313/1.313, allocations: 158.6 MB / 187 MB, free: 6.227 MB / 174.1 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 58.73 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2262, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002689/0.2289, allocations: 1.467 MB / 350 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.2309, allocations: 0.856 MB / 350.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.2309, allocations: 4 kB / 350.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.781e-05/0.231, allocations: 7.875 kB / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.2311, allocations: 15.86 kB / 350.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.2313, allocations: 51.88 kB / 350.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.2315, allocations: 131.7 kB / 351 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.2316, allocations: 16.22 kB / 351 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.2323, allocations: 0.5732 MB / 351.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2325, allocations: 79.62 kB / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.2325, allocations: 8 kB / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.2326, allocations: 12 kB / 351.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.2327, allocations: 63.75 kB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2328, allocations: 83.3 kB / 351.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.2332, allocations: 372.8 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2332, allocations: 7.938 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2332, allocations: 3.938 kB / 352.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2332, allocations: 0 / 352.2 MB, free: 11.76 MB / 318.1 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.0008123/0.234, allocations: 0.6475 MB / 352.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2341, allocations: 15.98 kB / 352.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.2341, allocations: 36.7 kB / 352.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.2345, allocations: 224.8 kB / 353.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2345, allocations: 12.31 kB / 353.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.2345, allocations: 8.375 kB / 353.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.2349, allocations: 252.7 kB / 353.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2349, allocations: 4 kB / 353.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.235, allocations: 4 kB / 353.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.235, allocations: 0 / 353.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.2352, allocations: 174.8 kB / 353.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.2359, allocations: 396.2 kB / 354 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2361, allocations: 193.3 kB / 354.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.2364, allocations: 179.7 kB / 354.4 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2364, allocations: 4 kB / 354.4 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.2369, allocations: 333.4 kB / 354.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.2369, allocations: 4 kB / 354.7 MB, free: 9.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001029/0.2379, allocations: 0.697 MB / 355.4 MB, free: 8.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.238, allocations: 174.2 kB / 355.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.2387, allocations: 0.5091 MB / 356.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.2388, allocations: 33.81 kB / 356.1 MB, free: 7.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.2388, allocations: 105 kB / 356.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.2389, allocations: 31.72 kB / 356.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.239, allocations: 85.52 kB / 356.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2392, allocations: 326.8 kB / 356.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2394, allocations: 178.8 kB / 356.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.2396, allocations: 200.5 kB / 357 MB, free: 6.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.24, allocations: 347.3 kB / 357.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.24, allocations: 0 / 357.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006911/0.2407, allocations: 0.5071 MB / 357.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.2408, allocations: 126.8 kB / 358 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2408, allocations: 0 / 358 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2408, allocations: 0 / 358 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.203e-05/0.2408, allocations: 0 / 358 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2408, allocations: 4 kB / 358 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.241, allocations: 11.98 kB / 358 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.241, allocations: 63.97 kB / 358.1 MB, free: 5.328 MB / 318.1 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.0003834/0.2414, allocations: 366.5 kB / 358.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.2415, allocations: 43.77 kB / 358.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.2416, allocations: 71.08 kB / 358.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.2416, allocations: 7.969 kB / 358.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2416, allocations: 0 / 358.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2416, allocations: 0 / 358.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2427, allocations: 0.8588 MB / 359.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2427, allocations: 0 / 359.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.2427, allocations: 0 / 359.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2427, allocations: 7.938 kB / 359.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.2428, allocations: 19.98 kB / 359.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2428, allocations: 3.938 kB / 359.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2428, allocations: 0 / 359.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.2436, allocations: 0.6691 MB / 360.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.244, allocations: 209.3 kB / 360.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.244, allocations: 8 kB / 360.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2442, allocations: 11.98 kB / 360.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2443, allocations: 23.98 kB / 360.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.2444, allocations: 67.92 kB / 360.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004979/0.2449, allocations: 386.9 kB / 360.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2449, allocations: 0 / 360.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.2452, allocations: 51.89 kB / 360.8 MB, free: 2.355 MB / 318.1 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.00014/0.2453, allocations: 115 kB / 360.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.246, allocations: 0.6124 MB / 361.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.246, allocations: 0 / 361.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.2464, allocations: 424.6 kB / 362 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.247, allocations: 129.2 kB / 362.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2482, allocations: 0.7808 MB / 362.9 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2485, allocations: 189.7 kB / 363.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.677e-05/0.2485, allocations: 8.719 kB / 363.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.2486, allocations: 16.5 kB / 363.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2486, allocations: 0 / 363.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Templates: time 0.009235/0.2578, allocations: 5.016 MB / 368.1 MB, free: 10.73 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.255361833027564]