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.001337/0.001337, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.001361/0.001361, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.522/1.522, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.001509/0.001509, allocations: 47.92 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09629, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002686/0.09898, allocations: 1.52 MB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1009, allocations: 0.8497 MB / 421.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.1009, allocations: 4 kB / 421.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.01e-05/0.101, allocations: 7.922 kB / 421.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.1011, allocations: 23.78 kB / 421.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1013, allocations: 47.89 kB / 421.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1015, allocations: 131.7 kB / 421.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1016, allocations: 12.23 kB / 421.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.1023, allocations: 0.5771 MB / 422.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1024, allocations: 79.67 kB / 422.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.1025, allocations: 12 kB / 422.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.908e-05/0.1025, allocations: 8 kB / 422.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.1026, allocations: 67.7 kB / 422.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1028, allocations: 115.2 kB / 422.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.1032, allocations: 366.5 kB / 422.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1032, allocations: 3.938 kB / 422.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1032, allocations: 0 / 422.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1032, allocations: 4 kB / 422.8 MB, free: 8.281 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.0008167/0.104, allocations: 0.7383 MB / 423.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.104, allocations: 8.031 kB / 423.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.1041, allocations: 44.64 kB / 423.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1044, allocations: 274.7 kB / 423.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1044, allocations: 4.375 kB / 423.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.1045, allocations: 12.38 kB / 423.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1048, allocations: 129.9 kB / 424 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1048, allocations: 3.938 kB / 424 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1048, allocations: 8 kB / 424 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1048, allocations: 0 / 424 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.105, allocations: 55.97 kB / 424 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.1057, allocations: 464.5 kB / 424.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1059, allocations: 78.48 kB / 424.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.106, allocations: 60.89 kB / 424.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.106, allocations: 4 kB / 424.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003814/0.1064, allocations: 202.7 kB / 424.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1064, allocations: 0 / 424.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008882/0.1073, allocations: 492.2 kB / 425.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1074, allocations: 166.2 kB / 425.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.1081, allocations: 0.5129 MB / 426 MB, free: 4.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.1081, allocations: 29.7 kB / 426 MB, free: 4.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.1082, allocations: 105.2 kB / 426.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.1082, allocations: 31.75 kB / 426.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1084, allocations: 81.55 kB / 426.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1085, allocations: 326.8 kB / 426.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1086, allocations: 59.97 kB / 426.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1088, allocations: 73.62 kB / 426.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.1092, allocations: 353.9 kB / 427 MB, free: 3.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1092, allocations: 0 / 427 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006038/0.1098, allocations: 384.3 kB / 427.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.1099, allocations: 129 kB / 427.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1099, allocations: 0 / 427.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1099, allocations: 0 / 427.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.1099, allocations: 4 kB / 427.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1099, allocations: 3.984 kB / 427.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1101, allocations: 8 kB / 427.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.1101, allocations: 56.03 kB / 427.6 MB, free: 3.031 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.0003683/0.1105, allocations: 370.9 kB / 427.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.1106, allocations: 43.75 kB / 428 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1107, allocations: 67.14 kB / 428.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1107, allocations: 0 / 428.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1107, allocations: 0 / 428.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1107, allocations: 0 / 428.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1117, allocations: 0.825 MB / 428.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1117, allocations: 3.938 kB / 428.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-06/0.1117, allocations: 4 kB / 428.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1117, allocations: 0 / 428.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.1118, allocations: 19.98 kB / 428.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1118, allocations: 0 / 428.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1118, allocations: 3.938 kB / 428.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.1125, allocations: 0.5332 MB / 429.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.1128, allocations: 248.6 kB / 429.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.1128, allocations: 12 kB / 429.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.113, allocations: 8 kB / 429.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1131, allocations: 35.84 kB / 429.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.1132, allocations: 59.92 kB / 429.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004745/0.1136, allocations: 386.9 kB / 430.2 MB, free: 272 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1136, allocations: 0 / 430.2 MB, free: 272 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.1139, allocations: 48 kB / 430.2 MB, free: 224 kB / 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.0001718/0.1141, allocations: 114.9 kB / 430.3 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.1146, allocations: 385.6 kB / 430.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1146, allocations: 0 / 430.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.115, allocations: 301.6 kB / 431 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.1156, allocations: 111.7 kB / 431.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1167, allocations: 0.7017 MB / 431.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.1172, allocations: 0.8098 MB / 432.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.1172, allocations: 15.44 kB / 432.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1172, allocations: 0 / 432.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.005125/0.1224, allocations: 2.703 MB / 435.3 MB, free: 10.89 MB / 366.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.445809189928696]