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.0008058/0.0008058, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009585/0.0009586, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002079, allocations: 8 kB / 307.8 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08329, allocations: 51.52 MB / 359.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001449/0.08477, allocations: 1.233 MB / 360.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.08635, allocations: 0.889 MB / 361.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.0864, allocations: 4 kB / 361.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.942e-05/0.08648, allocations: 3.938 kB / 361.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.08656, allocations: 23.84 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.08676, allocations: 39.91 kB / 361.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.0869, allocations: 115.7 kB / 361.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.08699, allocations: 12.23 kB / 361.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.0875, allocations: 0.5615 MB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.08762, allocations: 63.77 kB / 362.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.08765, allocations: 4 kB / 362.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.08768, allocations: 0 / 362.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.08777, allocations: 67.7 kB / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.08789, allocations: 132.9 kB / 362.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.08817, allocations: 354.6 kB / 362.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.08818, allocations: 0 / 362.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.08819, allocations: 0 / 362.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.0882, allocations: 0 / 362.8 MB, free: 9.723 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.0005554/0.08876, allocations: 0.6609 MB / 363.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.0888, allocations: 12.03 kB / 363.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.08886, allocations: 42.75 kB / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.08892, allocations: 36.47 kB / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.08915, allocations: 270.3 kB / 363.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.08918, allocations: 12.38 kB / 363.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.08921, allocations: 8.375 kB / 363.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.08949, allocations: 137.6 kB / 364 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.08951, allocations: 0 / 364 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.08953, allocations: 4 kB / 364 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.08954, allocations: 0 / 364 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.08968, allocations: 63.97 kB / 364.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.09024, allocations: 456.6 kB / 364.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.09042, allocations: 94.48 kB / 364.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.09057, allocations: 84.94 kB / 364.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.09059, allocations: 8 kB / 364.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.09088, allocations: 210.7 kB / 364.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.09089, allocations: 7.984 kB / 364.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007261/0.09162, allocations: 479.1 kB / 365.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.09172, allocations: 166.2 kB / 365.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.09228, allocations: 0.5129 MB / 366.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.09232, allocations: 33.7 kB / 366.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.09239, allocations: 101.1 kB / 366.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.09243, allocations: 35.62 kB / 366.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.09248, allocations: 21.72 kB / 366.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.09258, allocations: 326.8 kB / 366.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.09272, allocations: 59.97 kB / 366.6 MB, free: 5.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.09284, allocations: 73.61 kB / 366.7 MB, free: 5.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.09317, allocations: 347.3 kB / 367 MB, free: 5.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.09318, allocations: 3.938 kB / 367 MB, free: 5.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004919/0.09368, allocations: 388.3 kB / 367.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.09376, allocations: 126.8 kB / 367.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.09377, allocations: 0 / 367.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.09378, allocations: 0 / 367.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.466e-05/0.0938, allocations: 0 / 367.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.09381, allocations: 4 kB / 367.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.09396, allocations: 19.89 kB / 367.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.09403, allocations: 59.97 kB / 367.6 MB, free: 4.508 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.0003163/0.09435, allocations: 366.7 kB / 368 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.0944, allocations: 35.62 kB / 368 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.09451, allocations: 67.14 kB / 368.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.09452, allocations: 0 / 368.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.09453, allocations: 0 / 368.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.09453, allocations: 4 kB / 368.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/0.09542, allocations: 0.8173 MB / 368.9 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.09544, allocations: 8.062 kB / 368.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-06/0.09545, allocations: 3.984 kB / 368.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.09546, allocations: 0 / 368.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.09549, allocations: 16 kB / 368.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.09549, allocations: 0 / 368.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.0955, allocations: 7.875 kB / 368.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.09608, allocations: 0.5401 MB / 369.5 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.09637, allocations: 244.5 kB / 369.7 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.09643, allocations: 16 kB / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.09656, allocations: 15.89 kB / 369.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.09666, allocations: 31.91 kB / 369.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.09672, allocations: 55.94 kB / 369.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.09714, allocations: 386.9 kB / 370.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09714, allocations: 0 / 370.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.09742, allocations: 43.94 kB / 370.3 MB, free: 1.695 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.0008464/0.09827, allocations: 1.093 MB / 371.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.09874, allocations: 437.5 kB / 371.8 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09875, allocations: 0 / 371.8 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1359/0.2347, allocations: 365.8 kB / 372.1 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.2353, allocations: 114.7 kB / 372.2 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.2382, allocations: 2.803 MB / 375.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2385, allocations: 0.804 MB / 375.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.2386, allocations: 11.09 kB / 375.9 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.2386, allocations: 27 kB / 375.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2386, allocations: 0 / 375.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2551, allocations: 5.311 MB / 381.2 MB, free: 16.57 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001174/0.2552, allocations: 192.7 kB / 381.4 MB, free: 16.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.899, allocations: 0 / 381.4 MB, free: 16.32 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