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.001691/0.001691, allocations: 114 kB / 20.43 MB, free: 1.457 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.001627/0.001627, allocations: 214.6 kB / 23.74 MB, free: 4.672 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.576/1.576, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.002141/0.002141, allocations: 59.91 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2904, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003143/0.2936, allocations: 1.526 MB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.2957, allocations: 0.8965 MB / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.2958, allocations: 0 / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.676e-05/0.2959, allocations: 15.86 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.9e-05/0.296, allocations: 19.84 kB / 433.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.2964, allocations: 55.83 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.2966, allocations: 127.7 kB / 433.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2967, allocations: 24.2 kB / 433.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.2974, allocations: 0.5732 MB / 434.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.2976, allocations: 79.69 kB / 434.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.2976, allocations: 12 kB / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.207e-05/0.2977, allocations: 8 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.2977, allocations: 63.7 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2979, allocations: 111.2 kB / 434.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.2984, allocations: 374.9 kB / 435 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2984, allocations: 0 / 435 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2984, allocations: 3.938 kB / 435.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2984, allocations: 0 / 435.1 MB, free: 2.809 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.0008738/0.2993, allocations: 0.6553 MB / 435.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2993, allocations: 8.031 kB / 435.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.2994, allocations: 42.69 kB / 435.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.2994, allocations: 44.69 kB / 435.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.2998, allocations: 220.8 kB / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2998, allocations: 4.375 kB / 436 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.2998, allocations: 8.375 kB / 436 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.3001, allocations: 129.7 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3001, allocations: 0 / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.3002, allocations: 8 kB / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3002, allocations: 0 / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3003, allocations: 59.97 kB / 436.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.3011, allocations: 435.5 kB / 436.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3012, allocations: 78.55 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3014, allocations: 60.89 kB / 436.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.3014, allocations: 4 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.3019, allocations: 213.8 kB / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.3019, allocations: 0 / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008222/0.3027, allocations: 471.4 kB / 437.5 MB, free: 208 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.3028, allocations: 170.2 kB / 437.6 MB, free: 0 / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.3035, allocations: 0.513 MB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.3036, allocations: 29.7 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3037, allocations: 109.1 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.3038, allocations: 27.78 kB / 438.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3039, allocations: 85.55 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3041, allocations: 322.8 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3042, allocations: 55.97 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3043, allocations: 77.67 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.3047, allocations: 339.3 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3047, allocations: 3.938 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005669/0.3053, allocations: 392.3 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.3054, allocations: 126.8 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3054, allocations: 112 / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3054, allocations: 3.938 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/0.3054, allocations: 4 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3054, allocations: 0 / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3056, allocations: 11.98 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.3057, allocations: 67.91 kB / 439.8 MB, free: 13.71 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.000393/0.3061, allocations: 366.5 kB / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.3062, allocations: 39.77 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.3063, allocations: 59.09 kB / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3063, allocations: 0 / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3063, allocations: 0 / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3063, allocations: 0 / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3074, allocations: 0.7891 MB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3074, allocations: 0 / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.3074, allocations: 7.938 kB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3074, allocations: 3.984 kB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.3074, allocations: 16.19 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3074, allocations: 4 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3074, allocations: 3.938 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.3083, allocations: 0.5369 MB / 441.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.3087, allocations: 213.3 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.3087, allocations: 8 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3089, allocations: 15.98 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.309, allocations: 31.91 kB / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.3091, allocations: 52 kB / 441.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005365/0.3096, allocations: 386.9 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3096, allocations: 0 / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3099, allocations: 40 kB / 442.3 MB, free: 11.02 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.001117/0.311, allocations: 1.097 MB / 443.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005945/0.3116, allocations: 373.5 kB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.3116, allocations: 0 / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.3119, allocations: 305.5 kB / 444.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.3126, allocations: 128.6 kB / 444.2 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.3167, allocations: 2.749 MB / 446.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.3172, allocations: 0.7983 MB / 447.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.3173, allocations: 12.64 kB / 447.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.3174, allocations: 23.44 kB / 447.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3174, allocations: 0 / 447.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.3549, allocations: 6.22 MB / 454 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.63, allocations: 10.66 kB / 454 MB, free: 15.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.22684280294925]