Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 165.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.093/1.093, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.711e-05, allocations: 6.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002097/0.002124, allocations: 1.527 MB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.003694, allocations: 0.8692 MB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.003758, allocations: 3.938 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.003862, allocations: 7.922 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.003946, allocations: 15.88 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.004258, allocations: 47.88 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.004494, allocations: 131.7 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.004607, allocations: 20.14 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/0.005087, allocations: 0.5889 MB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.00521, allocations: 67.75 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.005249, allocations: 16 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.005275, allocations: 8 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.005346, allocations: 67.7 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.005421, allocations: 51.8 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.00569, allocations: 290.9 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005693, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.005695, allocations: 3.938 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.005701, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.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.0006977/0.006399, allocations: 0.7785 MB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.006437, allocations: 12.03 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.546e-05/0.006523, allocations: 44.7 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.006737, allocations: 219 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.00676, allocations: 4.375 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.00678, allocations: 12.38 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.007097, allocations: 249.6 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.007107, allocations: 192 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.007126, allocations: 8.375 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.007135, allocations: 3.938 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.007245, allocations: 170.8 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.007807, allocations: 0.4915 MB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.007985, allocations: 189.8 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.008108, allocations: 178.5 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.008117, allocations: 3.938 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.008359, allocations: 327.1 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.008361, allocations: 3.984 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006237/0.008985, allocations: 0.6815 MB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.009051, allocations: 170.2 kB / 280.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.009606, allocations: 0.6232 MB / 280.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.009628, allocations: 33.81 kB / 280.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.009706, allocations: 155.8 kB / 281 MB, free: 9.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.009739, allocations: 31.78 kB / 281 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.009836, allocations: 91.16 kB / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.009964, allocations: 0.4923 MB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.01008, allocations: 162.8 kB / 281.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01019, allocations: 186.1 kB / 281.9 MB, free: 8.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.01038, allocations: 336.7 kB / 282.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01039, allocations: 0 / 282.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003659/0.01075, allocations: 0.4913 MB / 282.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.01082, allocations: 126.8 kB / 282.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01083, allocations: 0 / 282.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.01084, allocations: 0 / 282.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.01087, allocations: 0 / 282.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01088, allocations: 4 kB / 282.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.01097, allocations: 15.94 kB / 282.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.01103, allocations: 59.92 kB / 283 MB, free: 6.863 MB / 266.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.0002444/0.01127, allocations: 381.3 kB / 283.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.01132, allocations: 55.73 kB / 283.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.01139, allocations: 59.06 kB / 283.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01139, allocations: 0 / 283.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01139, allocations: 0 / 283.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.0114, allocations: 4 kB / 283.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.01214, allocations: 0.9516 MB / 284.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01214, allocations: 0 / 284.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.01215, allocations: 0 / 284.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01215, allocations: 0 / 284.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.01217, allocations: 19.98 kB / 284.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.01217, allocations: 7.984 kB / 284.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01217, allocations: 192 / 284.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.01261, allocations: 0.7043 MB / 285.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.01282, allocations: 185.4 kB / 285.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.01286, allocations: 15.98 kB / 285.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.01293, allocations: 11.94 kB / 285.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.01302, allocations: 19.97 kB / 285.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.01306, allocations: 63.98 kB / 285.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003254/0.01338, allocations: 422.7 kB / 285.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01338, allocations: 4 kB / 285.8 MB, free: 3.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.01358, allocations: 44 kB / 285.9 MB, free: 3.754 MB / 266.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.0001137/0.01369, allocations: 119 kB / 286 MB, free: 3.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.01407, allocations: 0.5965 MB / 286.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01407, allocations: 0 / 286.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.01427, allocations: 432 kB / 287 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.01464, allocations: 132.4 kB / 287.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.0154, allocations: 0.7486 MB / 287.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.01547, allocations: 96.11 kB / 288 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.725e-05/0.01551, allocations: 12.7 kB / 288 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.01553, allocations: 16.5 kB / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01553, allocations: 0 / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of Templates: time 0.006353/0.02189, allocations: 5.232 MB / 293.3 MB, free: 12.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8887097337283194]