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.0007137/0.0007137, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00085/0.00085, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8901/0.8901, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 2.154e-06/2.154e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.588e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002295/0.002321, allocations: 1.48 MB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.003782, allocations: 0.842 MB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.003827, allocations: 0 / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.003928, allocations: 7.922 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.003997, allocations: 19.86 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.00424, allocations: 55.81 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004403, allocations: 127.7 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004509, allocations: 16.22 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.005023, allocations: 0.6004 MB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.005137, allocations: 71.75 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.005167, allocations: 12 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.005189, allocations: 8 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.005255, allocations: 63.78 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.005322, allocations: 55.72 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.005601, allocations: 378.8 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005603, allocations: 0 / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005604, allocations: 0 / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005609, allocations: 0 / 328.2 MB, free: 12.14 MB / 298.7 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.0005925/0.006202, allocations: 0.6553 MB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.006251, allocations: 11.98 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.006286, allocations: 38.75 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.006332, allocations: 44.64 kB / 329 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.006557, allocations: 216.1 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.006581, allocations: 8.375 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.006604, allocations: 8.375 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.006877, allocations: 241 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.006886, allocations: 4.125 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.006903, allocations: 12.06 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.006908, allocations: 4 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.007039, allocations: 186.7 kB / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.007492, allocations: 407.7 kB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.00765, allocations: 197.3 kB / 330.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.00778, allocations: 187.6 kB / 330.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.007789, allocations: 0 / 330.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.00807, allocations: 329.5 kB / 330.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.008071, allocations: 0 / 330.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006115/0.008682, allocations: 0.7009 MB / 331.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.008747, allocations: 174.1 kB / 331.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.009127, allocations: 0.513 MB / 332.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.009147, allocations: 29.7 kB / 332.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.009199, allocations: 105.1 kB / 332.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.009226, allocations: 27.8 kB / 332.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.009296, allocations: 81.55 kB / 332.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.009403, allocations: 318.8 kB / 332.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.009527, allocations: 178.8 kB / 332.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.009649, allocations: 195.4 kB / 333 MB, free: 6.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.009866, allocations: 370.7 kB / 333.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009868, allocations: 4 kB / 333.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003498/0.01022, allocations: 0.5069 MB / 333.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.01027, allocations: 126.8 kB / 334 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01028, allocations: 0 / 334 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01029, allocations: 4 kB / 334 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/0.01031, allocations: 0 / 334 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.01031, allocations: 0 / 334 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.01039, allocations: 11.98 kB / 334.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.01044, allocations: 60.05 kB / 334.1 MB, free: 5.633 MB / 298.7 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.0002214/0.01066, allocations: 374.4 kB / 334.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.01069, allocations: 39.77 kB / 334.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.01076, allocations: 63.09 kB / 334.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01076, allocations: 0 / 334.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01077, allocations: 3.984 kB / 334.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01077, allocations: 4 kB / 334.6 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.0114, allocations: 0.8856 MB / 335.5 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.0114, allocations: 3.984 kB / 335.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-06/0.0114, allocations: 0 / 335.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01141, allocations: 0 / 335.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.01142, allocations: 12 kB / 335.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01142, allocations: 4 kB / 335.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01142, allocations: 8.125 kB / 335.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.01186, allocations: 0.6687 MB / 336.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.01208, allocations: 205.4 kB / 336.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.01211, allocations: 16 kB / 336.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.01218, allocations: 11.98 kB / 336.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.01226, allocations: 31.91 kB / 336.4 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.0123, allocations: 56 kB / 336.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002853/0.01259, allocations: 390.9 kB / 336.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01259, allocations: 0 / 336.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.01278, allocations: 47.94 kB / 336.9 MB, free: 2.629 MB / 298.7 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.0006391/0.01342, allocations: 1.212 MB / 338.1 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.01382, allocations: 0.6124 MB / 338.7 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01383, allocations: 0 / 338.7 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.01403, allocations: 428.4 kB / 339.2 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.01437, allocations: 119.5 kB / 339.3 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.01758, allocations: 3.369 MB / 342.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.01778, allocations: 193.8 kB / 342.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.89e-05/0.01783, allocations: 16.64 kB / 342.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.01788, allocations: 24.5 kB / 342.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.01788, allocations: 0 / 342.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.04094, allocations: 7.073 MB / 349.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/6.885, allocations: 15.27 kB / 350 MB, free: 5.121 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/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: 8.574618426151574]