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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001797/0.001797, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 61.89 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09975, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002887/0.1027, allocations: 1.517 MB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1046, allocations: 0.8826 MB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.1047, allocations: 0 / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.418e-05/0.1048, allocations: 11.86 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.1049, allocations: 19.84 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1051, allocations: 43.89 kB / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1053, allocations: 143.7 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1054, allocations: 24.2 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.106, allocations: 0.5615 MB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1062, allocations: 67.7 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.1062, allocations: 12 kB / 360.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.458e-05/0.1063, allocations: 8 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.018e-05/0.1064, allocations: 71.7 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1065, allocations: 115.2 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.1068, allocations: 370.7 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1068, allocations: 0 / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1068, allocations: 0 / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1068, allocations: 0 / 361.4 MB, free: 10.16 MB / 302.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.0007372/0.1076, allocations: 0.7113 MB / 362.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1076, allocations: 12.03 kB / 362.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.1077, allocations: 42.73 kB / 362.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.1078, allocations: 36.47 kB / 362.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1081, allocations: 282.3 kB / 362.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1081, allocations: 4.375 kB / 362.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1081, allocations: 8.375 kB / 362.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.1084, allocations: 133.7 kB / 362.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1084, allocations: 0 / 362.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1084, allocations: 8 kB / 362.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1085, allocations: 7.938 kB / 362.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.1086, allocations: 55.97 kB / 362.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.1092, allocations: 472.4 kB / 363.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1094, allocations: 94.55 kB / 363.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1096, allocations: 84.89 kB / 363.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1096, allocations: 3.938 kB / 363.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.1099, allocations: 213.8 kB / 363.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1099, allocations: 0 / 363.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007791/0.1107, allocations: 475.6 kB / 364 MB, free: 7.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.1108, allocations: 170.2 kB / 364.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/0.1114, allocations: 0.5168 MB / 364.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.1115, allocations: 33.64 kB / 364.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.1115, allocations: 97.12 kB / 364.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1116, allocations: 27.64 kB / 364.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1117, allocations: 93.41 kB / 364.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1118, allocations: 326.8 kB / 365.3 MB, free: 6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1119, allocations: 55.97 kB / 365.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1121, allocations: 69.69 kB / 365.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1124, allocations: 347.2 kB / 365.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1124, allocations: 0 / 365.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005262/0.1129, allocations: 396.4 kB / 366.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/0.113, allocations: 125.8 kB / 366.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.113, allocations: 0 / 366.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1131, allocations: 0 / 366.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-05/0.1131, allocations: 7.922 kB / 366.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1131, allocations: 4 kB / 366.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1132, allocations: 8 kB / 366.2 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.1133, allocations: 59.94 kB / 366.3 MB, free: 4.836 MB / 302.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.0003311/0.1136, allocations: 366.7 kB / 366.7 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.1137, allocations: 39.61 kB / 366.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.1138, allocations: 67.14 kB / 366.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1138, allocations: 0 / 366.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1138, allocations: 3.984 kB / 366.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1138, allocations: 0 / 366.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/0.1147, allocations: 0.8249 MB / 367.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1147, allocations: 0 / 367.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-06/0.1148, allocations: 112 / 367.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1148, allocations: 3.938 kB / 367.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.1148, allocations: 19.98 kB / 367.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1148, allocations: 0 / 367.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1148, allocations: 4.125 kB / 367.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.1154, allocations: 0.537 MB / 368.2 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.1157, allocations: 252.4 kB / 368.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.1158, allocations: 12 kB / 368.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1159, allocations: 15.98 kB / 368.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.116, allocations: 27.92 kB / 368.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.1161, allocations: 63.92 kB / 368.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004237/0.1165, allocations: 390.8 kB / 368.9 MB, free: 2.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1165, allocations: 0 / 368.9 MB, free: 2.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.1168, allocations: 43.94 kB / 369 MB, free: 2.012 MB / 302.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.0009166/0.1178, allocations: 1.085 MB / 370 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.1183, allocations: 445.5 kB / 370.5 MB, free: 404 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1183, allocations: 0 / 370.5 MB, free: 404 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1452/0.2635, allocations: 370.3 kB / 370.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.2642, allocations: 114.7 kB / 370.9 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.267, allocations: 2.74 MB / 373.7 MB, free: 19.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2672, allocations: 0.8083 MB / 374.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.2673, allocations: 6.203 kB / 374.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.2673, allocations: 26.8 kB / 374.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2673, allocations: 0 / 374.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08898/0.3563, allocations: 6.007 MB / 380.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.616, allocations: 7.672 kB / 380.5 MB, free: 17.5 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches