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.001589/0.001589, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 64.2 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1054, allocations: 50.54 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003244/0.1086, allocations: 1.568 MB / 358.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1106, allocations: 0.8771 MB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.1107, allocations: 0 / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1108, allocations: 11.92 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.1109, allocations: 19.88 kB / 359.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1112, allocations: 39.95 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1114, allocations: 139.7 kB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1115, allocations: 20.23 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.1121, allocations: 0.5654 MB / 360.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1122, allocations: 71.77 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1123, allocations: 12 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/0.1123, allocations: 8 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.1124, allocations: 75.62 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1126, allocations: 111.2 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.1129, allocations: 370.6 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1129, allocations: 0 / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1129, allocations: 0 / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1129, allocations: 0 / 361 MB, free: 10.4 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.0007621/0.1137, allocations: 0.7152 MB / 361.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1137, allocations: 16.03 kB / 361.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.1138, allocations: 46.67 kB / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.1139, allocations: 36.47 kB / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1142, allocations: 270.3 kB / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1142, allocations: 4.375 kB / 362 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1142, allocations: 8.375 kB / 362 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1145, allocations: 133.7 kB / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1145, allocations: 0 / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.1146, allocations: 7.984 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.1146, allocations: 4 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1147, allocations: 67.89 kB / 362.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.1154, allocations: 452.6 kB / 362.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1156, allocations: 102.4 kB / 362.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1157, allocations: 84.89 kB / 362.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.1157, allocations: 8 kB / 362.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.1161, allocations: 206.6 kB / 363.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1161, allocations: 0 / 363.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009567/0.1171, allocations: 475.9 kB / 363.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.1172, allocations: 174.1 kB / 363.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.118, allocations: 0.5167 MB / 364.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.118, allocations: 29.7 kB / 364.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.1181, allocations: 101.1 kB / 364.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.1182, allocations: 27.66 kB / 364.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.1183, allocations: 89.41 kB / 364.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1185, allocations: 322.8 kB / 364.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1186, allocations: 55.97 kB / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1187, allocations: 73.69 kB / 364.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.1192, allocations: 347.2 kB / 365.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1192, allocations: 0 / 365.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000715/0.1199, allocations: 400.2 kB / 365.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.987e-05/0.12, allocations: 118.8 kB / 365.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1201, allocations: 4 kB / 365.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1201, allocations: 0 / 365.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.1201, allocations: 0 / 365.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1201, allocations: 4.062 kB / 365.8 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.1203, allocations: 15.98 kB / 365.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.1204, allocations: 63.97 kB / 365.9 MB, free: 5.074 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.0004119/0.1208, allocations: 370.7 kB / 366.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.1209, allocations: 35.62 kB / 366.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.121, allocations: 63.14 kB / 366.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.121, allocations: 4 kB / 366.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.121, allocations: 0 / 366.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.121, allocations: 0 / 366.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.122, allocations: 0.8249 MB / 367.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1221, allocations: 4 kB / 367.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-06/0.1221, allocations: 4 kB / 367.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1221, allocations: 112 / 367.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.1221, allocations: 15.92 kB / 367.2 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1221, allocations: 4 kB / 367.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1221, allocations: 3.938 kB / 367.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.1229, allocations: 0.5327 MB / 367.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.1232, allocations: 252.3 kB / 368 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.1233, allocations: 12 kB / 368 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1234, allocations: 12 kB / 368 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1236, allocations: 27.91 kB / 368 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.1237, allocations: 59.94 kB / 368.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005025/0.1242, allocations: 386.9 kB / 368.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1242, allocations: 4 kB / 368.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1245, allocations: 43.94 kB / 368.5 MB, free: 2.262 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.001227/0.1257, allocations: 1.09 MB / 369.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005434/0.1263, allocations: 445.5 kB / 370 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1263, allocations: 0 / 370 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.1267, allocations: 377.5 kB / 370.4 MB, free: 224 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.1273, allocations: 122 kB / 370.5 MB, free: 116 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1758/0.3031, allocations: 2.806 MB / 373.3 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3034, allocations: 0.8015 MB / 374.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.3035, allocations: 8.719 kB / 374.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.3035, allocations: 32.05 kB / 374.1 MB, free: 18.42 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3035, allocations: 0 / 374.1 MB, free: 18.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.3216, allocations: 5.798 MB / 379.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.3218, allocations: 186.8 kB / 380.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.228, allocations: 0 / 380.1 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