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.002037/0.002037, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002361/0.002361, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.593/1.593, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001587/0.001587, allocations: 55.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3737, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003592/0.3773, allocations: 1.486 MB / 433.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.3797, allocations: 0.842 MB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.3798, allocations: 0 / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3799, allocations: 7.875 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.3801, allocations: 23.84 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.3804, allocations: 51.89 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.3807, allocations: 131.7 kB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3808, allocations: 16.22 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009053/0.3817, allocations: 0.581 MB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3819, allocations: 79.69 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.382, allocations: 8 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.382, allocations: 12 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3821, allocations: 59.77 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.3823, allocations: 87.28 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.3828, allocations: 377.1 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.3828, allocations: 3.984 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3829, allocations: 0 / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3829, allocations: 0 / 436.1 MB, free: 2.957 MB / 334.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.0009952/0.3839, allocations: 0.6553 MB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.3839, allocations: 12.03 kB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.384, allocations: 40.69 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.3844, allocations: 216.8 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3844, allocations: 8.375 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3845, allocations: 8.375 kB / 437 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.385, allocations: 248.7 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.385, allocations: 0 / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.385, allocations: 4 kB / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.385, allocations: 0 / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.3853, allocations: 178.8 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.3862, allocations: 388.2 kB / 437.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3866, allocations: 197.3 kB / 438 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.3868, allocations: 183.7 kB / 438.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3868, allocations: 112 / 438.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005817/0.3874, allocations: 333.5 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3874, allocations: 0 / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001165/0.3886, allocations: 0.7041 MB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.3887, allocations: 170.2 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.3895, allocations: 0.5091 MB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.3896, allocations: 33.7 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.3897, allocations: 113 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.3897, allocations: 27.78 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3899, allocations: 81.56 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3901, allocations: 326.8 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.3903, allocations: 178.8 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.3906, allocations: 192.5 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.391, allocations: 351.2 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.391, allocations: 0 / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000751/0.3918, allocations: 0.5031 MB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.3919, allocations: 130.8 kB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3919, allocations: 0 / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3919, allocations: 128 / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.457e-05/0.3919, allocations: 11.94 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3919, allocations: 0 / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3921, allocations: 15.98 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3922, allocations: 55.94 kB / 441.9 MB, free: 12.54 MB / 350.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.0005121/0.3927, allocations: 366.5 kB / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.3927, allocations: 35.77 kB / 442.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.393, allocations: 75.06 kB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.393, allocations: 4 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.393, allocations: 0 / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.393, allocations: 0 / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3942, allocations: 0.8665 MB / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3942, allocations: 0 / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.3942, allocations: 0 / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3942, allocations: 0 / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.3942, allocations: 15.98 kB / 443.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3942, allocations: 0 / 443.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3942, allocations: 0 / 443.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.3951, allocations: 0.6637 MB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.3956, allocations: 209.4 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.3956, allocations: 12 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.3958, allocations: 7.984 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.3959, allocations: 19.98 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.396, allocations: 63.98 kB / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005243/0.3965, allocations: 382.9 kB / 444.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3965, allocations: 0 / 444.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000303/0.3968, allocations: 51.88 kB / 444.6 MB, free: 9.609 MB / 350.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.0002142/0.397, allocations: 127 kB / 444.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007838/0.3978, allocations: 0.6046 MB / 445.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3978, allocations: 0 / 445.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.3983, allocations: 424.3 kB / 445.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.3989, allocations: 120.4 kB / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.4003, allocations: 0.7693 MB / 446.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4006, allocations: 193.7 kB / 446.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.4007, allocations: 12.72 kB / 446.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.4007, allocations: 11.44 kB / 446.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4007, allocations: 0 / 446.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of Templates: time 0.01028/0.411, allocations: 5.09 MB / 452 MB, free: 2 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.39371814399783]