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.001925/0.001925, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.002346/0.002346, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.505/1.505, allocations: 230.4 MB / 254 MB, free: 15.02 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.001942/0.001942, allocations: 67.89 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 53.37 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002965/0.1244, allocations: 1.533 MB / 427.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1265, allocations: 0.881 MB / 428.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.1266, allocations: 0 / 428.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1267, allocations: 15.86 kB / 428.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.1268, allocations: 23.84 kB / 428.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.127, allocations: 39.89 kB / 428.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1272, allocations: 131.7 kB / 429 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1273, allocations: 24.16 kB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.128, allocations: 0.5809 MB / 429.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1281, allocations: 71.75 kB / 429.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.1282, allocations: 8 kB / 429.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.1282, allocations: 15.94 kB / 429.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.1283, allocations: 59.77 kB / 429.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1285, allocations: 119.1 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.1289, allocations: 374.5 kB / 430.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1289, allocations: 0 / 430.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1289, allocations: 0 / 430.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1289, allocations: 0 / 430.2 MB, free: 0.7266 MB / 350.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.2123/0.3412, allocations: 0.7329 MB / 430.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3412, allocations: 9.812 kB / 431 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.3413, allocations: 40.73 kB / 431 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.3414, allocations: 38.73 kB / 431 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3417, allocations: 270 kB / 431.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3417, allocations: 7.797 kB / 431.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.3418, allocations: 7.906 kB / 431.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.3422, allocations: 131.2 kB / 431.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3422, allocations: 1.25 kB / 431.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.3422, allocations: 7.016 kB / 431.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3422, allocations: 1 kB / 431.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.3424, allocations: 60.28 kB / 431.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.3432, allocations: 463.4 kB / 432 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.3434, allocations: 79.69 kB / 432 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3436, allocations: 64.62 kB / 432.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3436, allocations: 1.656 kB / 432.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.3439, allocations: 205.9 kB / 432.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.3439, allocations: 2.844 kB / 432.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008448/0.3448, allocations: 488.2 kB / 432.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.3448, allocations: 171.5 kB / 433 MB, free: 9.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/0.3454, allocations: 0.5126 MB / 433.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3454, allocations: 33.05 kB / 433.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.3454, allocations: 98.67 kB / 433.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3455, allocations: 30.09 kB / 433.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3456, allocations: 86.56 kB / 433.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.3457, allocations: 320.6 kB / 434 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3458, allocations: 58.7 kB / 434.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3459, allocations: 71.56 kB / 434.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3462, allocations: 348 kB / 434.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3462, allocations: 1 kB / 434.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005334/0.3467, allocations: 395.6 kB / 434.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.3468, allocations: 126.7 kB / 435 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3468, allocations: 9.219 kB / 435 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3468, allocations: 1.125 kB / 435 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.462e-05/0.3469, allocations: 1.125 kB / 435 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3469, allocations: 1.188 kB / 435 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.347, allocations: 11.16 kB / 435 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/0.3471, allocations: 56.34 kB / 435.1 MB, free: 8.699 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.0003195/0.3474, allocations: 359.7 kB / 435.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.3475, allocations: 42.7 kB / 435.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3476, allocations: 72.7 kB / 435.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3476, allocations: 0 / 435.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3476, allocations: 4.906 kB / 435.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3476, allocations: 0.75 kB / 435.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3486, allocations: 0.8182 MB / 436.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3486, allocations: 0 / 436.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.3486, allocations: 0 / 436.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3486, allocations: 4.938 kB / 436.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.3486, allocations: 12 kB / 436.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3486, allocations: 1.469 kB / 436.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3486, allocations: 1.406 kB / 436.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.3493, allocations: 0.5462 MB / 436.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.3495, allocations: 254.2 kB / 437.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.3496, allocations: 11.91 kB / 437.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3497, allocations: 15.28 kB / 437.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3498, allocations: 21.98 kB / 437.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.3499, allocations: 61.25 kB / 437.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004468/0.3503, allocations: 387.2 kB / 437.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 437.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3506, allocations: 45 kB / 437.7 MB, free: 7.156 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.000837/0.3515, allocations: 1.093 MB / 438.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004597/0.3519, allocations: 380.6 kB / 439.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3519, allocations: 3.75 kB / 439.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.3521, allocations: 302 kB / 439.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.3528, allocations: 110.3 kB / 439.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.3562, allocations: 2.764 MB / 442.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3565, allocations: 0.8038 MB / 443.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.338e-05/0.3565, allocations: 15.06 kB / 443.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.3566, allocations: 26.61 kB / 443.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3566, allocations: 0 / 443.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.3879, allocations: 6.047 MB / 449.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.701, allocations: 3.297 kB / 449.2 MB, free: 2.133 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.403016332886182]