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.001912/0.001912, allocations: 83.19 kB / 21.99 MB, free: 5.176 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.00214/0.00214, 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.349/1.349, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 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: 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.001908/0.001908, allocations: 56.39 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2121, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00266/0.2147, allocations: 1.459 MB / 350 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2166, allocations: 0.8561 MB / 350.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.2166, allocations: 0 / 350.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.257e-05/0.2167, allocations: 11.86 kB / 350.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.2168, allocations: 23.78 kB / 350.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.217, allocations: 55.89 kB / 350.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.2172, allocations: 135.7 kB / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.2173, allocations: 8.234 kB / 351 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.218, allocations: 0.5771 MB / 351.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2181, allocations: 71.69 kB / 351.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.2182, allocations: 8 kB / 351.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.2182, allocations: 12 kB / 351.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.2183, allocations: 63.7 kB / 351.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2184, allocations: 83.34 kB / 351.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.2188, allocations: 380.7 kB / 352.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2188, allocations: 0 / 352.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2188, allocations: 0 / 352.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2188, allocations: 4 kB / 352.2 MB, free: 11.79 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.0008176/0.2196, allocations: 0.6553 MB / 352.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2197, allocations: 11.98 kB / 352.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.2197, allocations: 40.7 kB / 352.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.22, allocations: 224.6 kB / 353.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2201, allocations: 8.375 kB / 353.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.2201, allocations: 8.375 kB / 353.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.2205, allocations: 256.7 kB / 353.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2205, allocations: 0 / 353.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.2205, allocations: 4 kB / 353.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2205, allocations: 7.984 kB / 353.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.2208, allocations: 178.8 kB / 353.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.2214, allocations: 392.2 kB / 354 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.2217, allocations: 189.4 kB / 354.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.2219, allocations: 183.7 kB / 354.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.2219, allocations: 0 / 354.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.2224, allocations: 333.4 kB / 354.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2224, allocations: 0 / 354.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001034/0.2234, allocations: 0.7087 MB / 355.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2235, allocations: 166.2 kB / 355.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.2242, allocations: 0.5169 MB / 356.1 MB, free: 7.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.2242, allocations: 29.7 kB / 356.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.2243, allocations: 101 kB / 356.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.2244, allocations: 31.78 kB / 356.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2245, allocations: 85.52 kB / 356.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2246, allocations: 326.8 kB / 356.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.2248, allocations: 178.8 kB / 356.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.2251, allocations: 192.5 kB / 357 MB, free: 6.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.2255, allocations: 359.4 kB / 357.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2255, allocations: 0 / 357.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007116/0.2262, allocations: 0.5032 MB / 357.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.2263, allocations: 126.7 kB / 358 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2263, allocations: 0 / 358 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2263, allocations: 4 kB / 358 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-05/0.2263, allocations: 0 / 358 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2263, allocations: 3.938 kB / 358 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2264, allocations: 15.98 kB / 358 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.2265, allocations: 55.94 kB / 358.1 MB, free: 5.344 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.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.0003887/0.2269, allocations: 366.5 kB / 358.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.227, allocations: 43.88 kB / 358.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.2271, allocations: 67.08 kB / 358.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2271, allocations: 4 kB / 358.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2271, allocations: 0 / 358.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2271, allocations: 0 / 358.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.2282, allocations: 0.8705 MB / 359.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2282, allocations: 0 / 359.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-06/0.2282, allocations: 7.922 kB / 359.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2282, allocations: 4 kB / 359.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2283, allocations: 12 kB / 359.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.2283, allocations: 4 kB / 359.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2283, allocations: 0 / 359.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.2291, allocations: 0.6691 MB / 360.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.2295, allocations: 205.4 kB / 360.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.2295, allocations: 12 kB / 360.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2297, allocations: 11.98 kB / 360.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.2298, allocations: 27.97 kB / 360.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/0.2298, allocations: 55.94 kB / 360.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005225/0.2304, allocations: 390.9 kB / 360.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2304, allocations: 0 / 360.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000286/0.2306, allocations: 51.89 kB / 360.8 MB, free: 2.375 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,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.0001361/0.2308, allocations: 114.2 kB / 360.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.2315, allocations: 0.6085 MB / 361.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2315, allocations: 0 / 361.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.2319, allocations: 432.2 kB / 362 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.2325, allocations: 129.5 kB / 362.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2337, allocations: 0.7769 MB / 362.9 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2339, allocations: 197.8 kB / 363.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.234, allocations: 8.719 kB / 363.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.234, allocations: 12.5 kB / 363.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.234, allocations: 0 / 363.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Templates: time 0.008996/0.243, allocations: 5.028 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.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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/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.335781673085876]