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.0009814/0.0009814, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001458/0.001458, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9178/0.9178, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.824e-06/1.824e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.395e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001689/0.001703, allocations: 1.488 MB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003285, allocations: 0.8343 MB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.003326, allocations: 0 / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.647e-05/0.003412, allocations: 15.86 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.003475, allocations: 15.86 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.003691, allocations: 51.83 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.003842, allocations: 131.7 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.003927, allocations: 16.22 kB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/0.004337, allocations: 0.5965 MB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004438, allocations: 67.75 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.004469, allocations: 12 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.004489, allocations: 8 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.004558, allocations: 67.77 kB / 327.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.004624, allocations: 55.73 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.004881, allocations: 378.8 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.004883, allocations: 0 / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004884, allocations: 0 / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004888, allocations: 0 / 328.2 MB, free: 12.15 MB / 298.7 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.0005282/0.005416, allocations: 0.6475 MB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.005453, allocations: 11.98 kB / 328.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.005486, allocations: 46.75 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.005531, allocations: 40.69 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.005711, allocations: 224 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.005726, allocations: 4.375 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.005745, allocations: 16.31 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.005981, allocations: 245 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.005988, allocations: 192 / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.006003, allocations: 8.125 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.006008, allocations: 4 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.006125, allocations: 174.8 kB / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.006557, allocations: 419.7 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.006714, allocations: 197.3 kB / 330.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.006832, allocations: 179.7 kB / 330.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.006841, allocations: 3.938 kB / 330.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.00709, allocations: 332.4 kB / 330.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.007091, allocations: 0 / 330.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005778/0.007669, allocations: 0.7048 MB / 331.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.007729, allocations: 166.2 kB / 331.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.00812, allocations: 0.513 MB / 332.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.008141, allocations: 41.58 kB / 332.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.008186, allocations: 97.09 kB / 332.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.008219, allocations: 35.77 kB / 332.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.008294, allocations: 81.56 kB / 332.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.008368, allocations: 322.8 kB / 332.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.008482, allocations: 174.8 kB / 332.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.0089, allocations: 197 kB / 333.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.009117, allocations: 363.2 kB / 333.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00912, allocations: 0 / 333.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003807/0.0095, allocations: 0.5138 MB / 333.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.009564, allocations: 122.8 kB / 334 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009569, allocations: 0 / 334 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.009581, allocations: 0 / 334 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.748e-05/0.009598, allocations: 4.047 kB / 334 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.009604, allocations: 7.922 kB / 334.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.009693, allocations: 16 kB / 334.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.009736, allocations: 55.94 kB / 334.1 MB, free: 5.629 MB / 298.7 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.0002167/0.009953, allocations: 362.5 kB / 334.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.009985, allocations: 43.75 kB / 334.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.01006, allocations: 67.12 kB / 334.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01006, allocations: 4 kB / 334.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01006, allocations: 0 / 334.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01007, allocations: 0 / 334.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.01072, allocations: 0.8856 MB / 335.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01072, allocations: 0 / 335.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.01072, allocations: 4 kB / 335.5 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01072, allocations: 0 / 335.5 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.01074, allocations: 15.98 kB / 335.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01074, allocations: 4.188 kB / 335.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01074, allocations: 0 / 335.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.01117, allocations: 0.6765 MB / 336.2 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.01139, allocations: 205.3 kB / 336.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.01143, allocations: 12 kB / 336.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.01151, allocations: 11.98 kB / 336.4 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.722e-05/0.01159, allocations: 23.98 kB / 336.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.01162, allocations: 55.98 kB / 336.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.01191, allocations: 390.8 kB / 336.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01191, allocations: 0 / 336.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.01209, allocations: 47.94 kB / 336.9 MB, free: 2.645 MB / 298.7 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.0006677/0.01276, allocations: 1.21 MB / 338.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.01318, allocations: 0.6163 MB / 338.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01318, allocations: 0 / 338.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.0134, allocations: 432.3 kB / 339.2 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.01376, allocations: 126.3 kB / 339.3 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.0164, allocations: 3.372 MB / 342.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.01657, allocations: 197.8 kB / 342.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.927e-05/0.0166, allocations: 8.719 kB / 342.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.01664, allocations: 28.48 kB / 342.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01664, allocations: 0 / 342.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.03576, allocations: 7.077 MB / 350 MB, free: 5.129 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/6.928, allocations: 10.81 kB / 350 MB, free: 5.121 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/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: 8.717470182105899]