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.001599/0.001599, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002425/0.002425, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.531/1.531, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.001838/0.001838, allocations: 59.89 kB / 377.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.246, allocations: 53.42 MB / 431.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002988/0.249, allocations: 1.517 MB / 432.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.251, allocations: 0.8965 MB / 433.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.2511, allocations: 3.938 kB / 433.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.2512, allocations: 11.92 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.2513, allocations: 15.88 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.2516, allocations: 51.88 kB / 433.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.2519, allocations: 131.7 kB / 433.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.252, allocations: 20.2 kB / 433.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006639/0.2526, allocations: 0.581 MB / 434.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.2528, allocations: 71.69 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.2528, allocations: 16 kB / 434.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.2529, allocations: 8 kB / 434.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.253, allocations: 75.62 kB / 434.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.2531, allocations: 111.2 kB / 434.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.2535, allocations: 374.8 kB / 435.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2535, allocations: 4 kB / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2535, allocations: 0 / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2535, allocations: 0 / 435.1 MB, free: 2.852 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.0007277/0.2543, allocations: 0.6553 MB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2543, allocations: 12.03 kB / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.2544, allocations: 38.69 kB / 435.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.2544, allocations: 44.64 kB / 435.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2547, allocations: 216.8 kB / 436 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.2547, allocations: 8.359 kB / 436 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.2547, allocations: 12.38 kB / 436 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.255, allocations: 121.7 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.255, allocations: 4 kB / 436.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.255, allocations: 3.984 kB / 436.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.255, allocations: 4 kB / 436.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2552, allocations: 63.91 kB / 436.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.2558, allocations: 431.6 kB / 436.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.256, allocations: 74.48 kB / 436.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2561, allocations: 64.88 kB / 436.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.2562, allocations: 0 / 436.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.2565, allocations: 213.9 kB / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2565, allocations: 0 / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007874/0.2573, allocations: 483.5 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2574, allocations: 162.2 kB / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006341/0.258, allocations: 0.5091 MB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.2581, allocations: 29.7 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.2581, allocations: 105.1 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2582, allocations: 27.84 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2583, allocations: 81.56 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2584, allocations: 326.8 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2586, allocations: 55.97 kB / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2587, allocations: 69.69 kB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.259, allocations: 351.3 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.259, allocations: 4 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005327/0.2596, allocations: 392.3 kB / 439.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/0.2597, allocations: 118.8 kB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2597, allocations: 4 kB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2597, allocations: 112 / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.2597, allocations: 3.938 kB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2597, allocations: 3.984 kB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2598, allocations: 15.94 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.2599, allocations: 55.94 kB / 439.7 MB, free: 13.77 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.0003461/0.2602, allocations: 374.4 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2603, allocations: 39.77 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2604, allocations: 67.08 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2604, allocations: 0 / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2604, allocations: 0 / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2604, allocations: 0 / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009758/0.2614, allocations: 0.789 MB / 441 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2614, allocations: 0 / 441 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-06/0.2614, allocations: 0 / 441 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2614, allocations: 4 kB / 441 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.2614, allocations: 19.98 kB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2614, allocations: 0 / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2614, allocations: 3.938 kB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.2621, allocations: 0.5367 MB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.2624, allocations: 209.3 kB / 441.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.2625, allocations: 12 kB / 441.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2626, allocations: 8.188 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2627, allocations: 31.89 kB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/0.2628, allocations: 67.98 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.2632, allocations: 382.9 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2632, allocations: 0 / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.2635, allocations: 48 kB / 442.3 MB, free: 11.06 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.0009709/0.2645, allocations: 1.086 MB / 443.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004733/0.2649, allocations: 381.5 kB / 443.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.265, allocations: 0 / 443.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.2652, allocations: 297.6 kB / 444.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.2658, allocations: 129.4 kB / 444.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.2691, allocations: 2.749 MB / 446.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.2696, allocations: 0.81 MB / 447.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.2696, allocations: 4.672 kB / 447.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.2697, allocations: 27.42 kB / 447.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2697, allocations: 0 / 447.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.3027, allocations: 6.221 MB / 454 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.08, allocations: 8 kB / 454 MB, free: 15.11 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.688854177002213]