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.001742/0.001742, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002136/0.002136, allocations: 163.1 kB / 24.5 MB, free: 3.445 MB / 14.72 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 1.502/1.502, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 57.42 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1085, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003317/0.1118, allocations: 1.481 MB / 380.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.114, allocations: 0.8459 MB / 381.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1141, allocations: 0 / 381.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.1142, allocations: 7.922 kB / 381.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1144, allocations: 19.8 kB / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1147, allocations: 51.88 kB / 381.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.115, allocations: 127.8 kB / 381.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1151, allocations: 16.16 kB / 381.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007197/0.1158, allocations: 0.5732 MB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.116, allocations: 79.67 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.116, allocations: 8 kB / 382.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.074e-05/0.1161, allocations: 16 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.1162, allocations: 63.7 kB / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1163, allocations: 75.42 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.1168, allocations: 386.3 kB / 382.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1168, allocations: 0 / 382.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1168, allocations: 0 / 382.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1168, allocations: 0 / 382.6 MB, free: 11.69 MB / 350.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.0008585/0.1176, allocations: 0.6591 MB / 383.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1177, allocations: 11.98 kB / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.1177, allocations: 40.7 kB / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.118, allocations: 216.8 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1181, allocations: 12.38 kB / 383.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1181, allocations: 4.375 kB / 383.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.1185, allocations: 260.6 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1185, allocations: 0 / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1185, allocations: 4 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1185, allocations: 0 / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.1188, allocations: 178.8 kB / 384 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.1195, allocations: 388.4 kB / 384.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1197, allocations: 197.3 kB / 384.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.12, allocations: 179.7 kB / 384.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.12, allocations: 4 kB / 384.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.1205, allocations: 333.4 kB / 385.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1205, allocations: 0 / 385.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.1215, allocations: 0.7087 MB / 385.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1216, allocations: 166.2 kB / 386 MB, free: 7.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.1223, allocations: 0.5091 MB / 386.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1223, allocations: 33.7 kB / 386.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.1224, allocations: 101.1 kB / 386.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1225, allocations: 27.84 kB / 386.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1226, allocations: 81.56 kB / 386.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1227, allocations: 330.8 kB / 387 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.123, allocations: 182.7 kB / 387.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.1232, allocations: 192.5 kB / 387.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.1236, allocations: 355.1 kB / 387.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1236, allocations: 3.938 kB / 387.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006698/0.1243, allocations: 0.5109 MB / 388.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1244, allocations: 122.8 kB / 388.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1244, allocations: 4 kB / 388.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1244, allocations: 4.031 kB / 388.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.346e-05/0.1244, allocations: 7.984 kB / 388.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1244, allocations: 4.062 kB / 388.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1245, allocations: 11.94 kB / 388.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.1246, allocations: 59.94 kB / 388.5 MB, free: 5.242 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.0004224/0.125, allocations: 366.4 kB / 388.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.1251, allocations: 39.77 kB / 388.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1252, allocations: 63.09 kB / 388.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1252, allocations: 0 / 388.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1252, allocations: 3.938 kB / 388.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1252, allocations: 4 kB / 388.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1264, allocations: 0.8627 MB / 389.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1264, allocations: 0 / 389.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.1264, allocations: 0 / 389.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1264, allocations: 0 / 389.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.1264, allocations: 16 kB / 389.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1264, allocations: 0 / 389.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1264, allocations: 4 kB / 389.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000842/0.1273, allocations: 0.6724 MB / 390.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.1277, allocations: 205.4 kB / 390.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/0.1278, allocations: 15.98 kB / 390.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.128, allocations: 12 kB / 390.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.1281, allocations: 23.97 kB / 390.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.1282, allocations: 56.12 kB / 390.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006237/0.1288, allocations: 390.9 kB / 391.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1288, allocations: 3.938 kB / 391.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.1291, allocations: 47.88 kB / 391.2 MB, free: 2.297 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.0001538/0.1293, allocations: 119 kB / 391.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007847/0.1301, allocations: 0.6163 MB / 392 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1301, allocations: 4.062 kB / 392 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.1306, allocations: 424.4 kB / 392.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.1313, allocations: 116.3 kB / 392.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1327, allocations: 0.7731 MB / 393.3 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.133, allocations: 197.7 kB / 393.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.1331, allocations: 0.7344 kB / 393.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.1331, allocations: 20.5 kB / 393.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1331, allocations: 0 / 393.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Templates: time 0.009467/0.1426, allocations: 5.02 MB / 398.5 MB, free: 10.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_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: 4.463153569959104]