Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002107, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 51.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1003, allocations: 49.44 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002693/0.103, allocations: 1.491 MB / 409.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.105, allocations: 0.8537 MB / 410.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1051, allocations: 0 / 410.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.718e-05/0.1052, allocations: 15.86 kB / 410.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.1053, allocations: 19.84 kB / 410.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1056, allocations: 43.89 kB / 410.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.1058, allocations: 147.7 kB / 410.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1059, allocations: 16.22 kB / 410.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.1066, allocations: 0.5732 MB / 411.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1067, allocations: 67.7 kB / 411.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.1068, allocations: 12 kB / 411.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.1068, allocations: 8 kB / 411.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.1069, allocations: 67.7 kB / 411.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1071, allocations: 115.2 kB / 411.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1075, allocations: 382.3 kB / 411.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1075, allocations: 4 kB / 411.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1075, allocations: 0 / 411.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1076, allocations: 0 / 411.9 MB, free: 3.004 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.000853/0.1084, allocations: 0.7305 MB / 412.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1085, allocations: 12.03 kB / 412.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.1085, allocations: 36.7 kB / 412.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.1089, allocations: 278.6 kB / 413 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1089, allocations: 12.3 kB / 413 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.109, allocations: 12.38 kB / 413 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.1093, allocations: 137.9 kB / 413.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1093, allocations: 0 / 413.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1093, allocations: 4 kB / 413.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1094, allocations: 0 / 413.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.1095, allocations: 63.91 kB / 413.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.1102, allocations: 460.5 kB / 413.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1104, allocations: 98.55 kB / 413.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.1106, allocations: 80.89 kB / 413.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.1106, allocations: 0 / 413.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.111, allocations: 210.6 kB / 414 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.111, allocations: 0 / 414 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009038/0.1119, allocations: 480.3 kB / 414.5 MB, free: 196 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.112, allocations: 162.2 kB / 414.6 MB, free: 16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.1127, allocations: 0.5207 MB / 415.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.1128, allocations: 33.69 kB / 415.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.1129, allocations: 101.1 kB / 415.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.1129, allocations: 35.78 kB / 415.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.113, allocations: 77.56 kB / 415.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1132, allocations: 326.8 kB / 415.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1133, allocations: 55.97 kB / 415.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1135, allocations: 84.06 kB / 415.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.1139, allocations: 350.7 kB / 416.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1139, allocations: 0 / 416.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005726/0.1145, allocations: 380.3 kB / 416.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1146, allocations: 126.8 kB / 416.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1146, allocations: 0 / 416.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1146, allocations: 4 kB / 416.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.018e-05/0.1147, allocations: 0 / 416.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1147, allocations: 7.969 kB / 416.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1148, allocations: 11.94 kB / 416.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.1149, allocations: 59.98 kB / 416.8 MB, free: 13.71 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.000366/0.1153, allocations: 366.9 kB / 417.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.1153, allocations: 43.88 kB / 417.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1154, allocations: 63.09 kB / 417.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1155, allocations: 0 / 417.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1155, allocations: 0 / 417.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1155, allocations: 0 / 417.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.1165, allocations: 0.829 MB / 418.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1165, allocations: 3.938 kB / 418.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-06/0.1166, allocations: 0 / 418.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1166, allocations: 0 / 418.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.1166, allocations: 15.98 kB / 418.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1166, allocations: 0 / 418.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1166, allocations: 3.938 kB / 418.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.1174, allocations: 0.5371 MB / 418.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.1177, allocations: 248.6 kB / 418.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.1178, allocations: 7.938 kB / 418.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1179, allocations: 15.98 kB / 418.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.118, allocations: 23.92 kB / 418.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.1181, allocations: 63.92 kB / 419 MB, free: 11.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004947/0.1186, allocations: 386.9 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1186, allocations: 0 / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1189, allocations: 40 kB / 419.4 MB, free: 10.91 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.0001595/0.119, allocations: 134.8 kB / 419.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005795/0.1196, allocations: 433.5 kB / 419.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1196, allocations: 0 / 419.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.12, allocations: 373.8 kB / 420.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.1207, allocations: 130 kB / 420.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1219, allocations: 0.6939 MB / 421.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.1224, allocations: 0.8098 MB / 421.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1225, allocations: 11.44 kB / 422 MB, free: 8.191 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1225, allocations: 0 / 422 MB, free: 8.191 MB / 350.1 MB Notification: Performance of Templates: time 0.005243/0.1277, allocations: 2.683 MB / 424.6 MB, free: 5.461 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.580631132004783]