Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.91 kB / 377.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2735, allocations: 53.41 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002819/0.2763, allocations: 1.472 MB / 432.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2782, allocations: 0.842 MB / 433.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.2783, allocations: 4 kB / 433.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.362e-05/0.2784, allocations: 15.8 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.2785, allocations: 19.86 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.2787, allocations: 58.88 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.2789, allocations: 123.8 kB / 433.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.279, allocations: 12.22 kB / 433.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.2797, allocations: 0.5809 MB / 434.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.2799, allocations: 71.73 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.2799, allocations: 8 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.84e-05/0.2799, allocations: 16 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.28, allocations: 67.64 kB / 434.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2801, allocations: 75.42 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.2805, allocations: 384.1 kB / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2805, allocations: 0 / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2805, allocations: 0 / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2806, allocations: 0 / 434.9 MB, free: 2.734 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.0007802/0.2813, allocations: 0.6591 MB / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2814, allocations: 11.98 kB / 435.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.2814, allocations: 38.75 kB / 435.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.2815, allocations: 40.7 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.2818, allocations: 216.8 kB / 435.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2818, allocations: 16.38 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.2818, allocations: 8.312 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.2822, allocations: 248.5 kB / 436.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2822, allocations: 4 kB / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.2822, allocations: 0 / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2822, allocations: 4 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.2825, allocations: 174.8 kB / 436.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.2832, allocations: 419.5 kB / 436.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.2834, allocations: 193.3 kB / 436.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2836, allocations: 187.7 kB / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.2836, allocations: 0 / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.2841, allocations: 336.7 kB / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2841, allocations: 0 / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009686/0.2851, allocations: 0.7009 MB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.2852, allocations: 166.2 kB / 438.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.2858, allocations: 0.513 MB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.2859, allocations: 29.7 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.2859, allocations: 105.1 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.286, allocations: 39.69 kB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2861, allocations: 77.56 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2862, allocations: 326.8 kB / 439.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2864, allocations: 182.8 kB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2867, allocations: 196.4 kB / 439.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.2871, allocations: 350.5 kB / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2871, allocations: 0 / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000659/0.2877, allocations: 0.503 MB / 440.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.2878, allocations: 130.8 kB / 440.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.2878, allocations: 32 / 440.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2879, allocations: 4 kB / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.2879, allocations: 0 / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2879, allocations: 4.109 kB / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.288, allocations: 15.92 kB / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.2881, allocations: 55.94 kB / 440.7 MB, free: 12.22 MB / 350.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.0003701/0.2884, allocations: 362.4 kB / 441.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.2885, allocations: 43.77 kB / 441.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2886, allocations: 67.06 kB / 441.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2886, allocations: 4 kB / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2886, allocations: 4 kB / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2886, allocations: 128 / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.2897, allocations: 0.8857 MB / 442.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2897, allocations: 4 kB / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.2897, allocations: 0 / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2897, allocations: 0 / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.2897, allocations: 12 kB / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2897, allocations: 0 / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2897, allocations: 3.938 kB / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.2905, allocations: 0.6609 MB / 442.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.2909, allocations: 213.3 kB / 443 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.2909, allocations: 16 kB / 443 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2911, allocations: 8 kB / 443 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2912, allocations: 31.91 kB / 443 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.2912, allocations: 52 kB / 443.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004736/0.2917, allocations: 390.9 kB / 443.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2917, allocations: 0 / 443.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.292, allocations: 40 kB / 443.5 MB, free: 9.25 MB / 350.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.001141/0.2931, allocations: 1.209 MB / 444.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000664/0.2938, allocations: 0.6124 MB / 445.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2938, allocations: 0 / 445.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.2942, allocations: 428.3 kB / 445.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.2948, allocations: 125.4 kB / 445.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.2988, allocations: 3.352 MB / 449.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2991, allocations: 197.7 kB / 449.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.2991, allocations: 12.64 kB / 449.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.2992, allocations: 31.48 kB / 449.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2992, allocations: 0 / 449.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.3347, allocations: 6.977 MB / 456.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.47, allocations: 3.938 kB / 456.4 MB, free: 11.86 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable nXFERGATE.y in file Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.csv. Warning: Get data of variable nXFERGATE.y from file Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.103796943090856]