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.001293/0.001293, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001284/0.001284, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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.43/1.43, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001574/0.001574, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2908, allocations: 52.13 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00295/0.2938, allocations: 1.522 MB / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2959, allocations: 0.8674 MB / 423.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.2959, allocations: 4 kB / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.296, allocations: 11.86 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.2961, allocations: 19.8 kB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.2964, allocations: 47.08 kB / 423.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.2966, allocations: 127.7 kB / 423.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2967, allocations: 20.22 kB / 423.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006711/0.2974, allocations: 0.5771 MB / 424 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.2976, allocations: 75.69 kB / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.2976, allocations: 12 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.2976, allocations: 8 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2977, allocations: 71.69 kB / 424.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2979, allocations: 115.2 kB / 424.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.2983, allocations: 375.7 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2983, allocations: 3.984 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2983, allocations: 0 / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2983, allocations: 0 / 424.7 MB, free: 11.25 MB / 334.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.0008432/0.2991, allocations: 0.7305 MB / 425.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2992, allocations: 12.03 kB / 425.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.2992, allocations: 40.7 kB / 425.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.2996, allocations: 270.7 kB / 425.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.2996, allocations: 8.375 kB / 425.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.2996, allocations: 8.375 kB / 425.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.2999, allocations: 129.9 kB / 425.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2999, allocations: 0 / 425.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3, allocations: 4 kB / 425.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3, allocations: 0 / 425.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3001, allocations: 75.89 kB / 426 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.3008, allocations: 464.5 kB / 426.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.301, allocations: 78.42 kB / 426.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.3011, allocations: 60.88 kB / 426.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3011, allocations: 4 kB / 426.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003721/0.3015, allocations: 202.7 kB / 426.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3015, allocations: 4 kB / 426.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008597/0.3024, allocations: 484.2 kB / 427.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.3025, allocations: 170.2 kB / 427.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.3031, allocations: 0.509 MB / 427.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3032, allocations: 33.7 kB / 427.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.3032, allocations: 97.12 kB / 428 MB, free: 7.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.3033, allocations: 35.75 kB / 428.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3034, allocations: 85.55 kB / 428.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3036, allocations: 330.8 kB / 428.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3037, allocations: 51.97 kB / 428.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3038, allocations: 73.69 kB / 428.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3042, allocations: 347.2 kB / 428.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3042, allocations: 0 / 428.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005786/0.3048, allocations: 394.4 kB / 429.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.3049, allocations: 126.8 kB / 429.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3049, allocations: 4 kB / 429.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3049, allocations: 0 / 429.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-05/0.3049, allocations: 0 / 429.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3049, allocations: 0 / 429.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.305, allocations: 11.98 kB / 429.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.3051, allocations: 59.98 kB / 429.5 MB, free: 5.992 MB / 334.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.0003714/0.3055, allocations: 370.7 kB / 429.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.3055, allocations: 39.77 kB / 429.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3056, allocations: 67.14 kB / 430 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3056, allocations: 3.984 kB / 430 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3057, allocations: 4 kB / 430 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3057, allocations: 0 / 430 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3067, allocations: 0.8212 MB / 430.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3067, allocations: 192 / 430.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-06/0.3067, allocations: 8 kB / 430.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3067, allocations: 4 kB / 430.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.3068, allocations: 8 kB / 430.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3068, allocations: 4 kB / 430.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3068, allocations: 3.938 kB / 430.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.3075, allocations: 0.5371 MB / 431.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.3078, allocations: 244.6 kB / 431.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.3078, allocations: 15.98 kB / 431.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.308, allocations: 8 kB / 431.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3081, allocations: 35.91 kB / 431.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.3082, allocations: 59.94 kB / 431.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004815/0.3086, allocations: 382.9 kB / 432.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3086, allocations: 4 kB / 432.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3089, allocations: 40 kB / 432.2 MB, free: 3.188 MB / 334.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.0001577/0.3091, allocations: 114.9 kB / 432.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.3096, allocations: 380 kB / 432.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3096, allocations: 4.062 kB / 432.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.3099, allocations: 305.5 kB / 432.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.3105, allocations: 114.7 kB / 433.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3116, allocations: 0.6649 MB / 433.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3122, allocations: 0.8097 MB / 434.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.355e-05/0.3122, allocations: 4.672 kB / 434.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.3122, allocations: 19.38 kB / 434.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3122, allocations: 0 / 434.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of Templates: time 0.008522/0.3207, allocations: 4.726 MB / 439.3 MB, free: 11.86 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.572327446192503]