Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001822/0.001822, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.002378/0.002378, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.424/1.424, allocations: 173.4 MB / 201.1 MB, free: 12.73 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 47.8 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.09092, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00284/0.09376, allocations: 1.47 MB / 373 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.09569, allocations: 0.8167 MB / 373.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.09575, allocations: 0 / 373.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.09583, allocations: 7.922 kB / 373.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.09591, allocations: 11.88 kB / 373.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.09618, allocations: 55.88 kB / 373.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.0964, allocations: 131.7 kB / 374.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.09651, allocations: 20.19 kB / 374.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.09721, allocations: 0.5771 MB / 374.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.09737, allocations: 75.67 kB / 374.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.09741, allocations: 12 kB / 374.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.718e-05/0.09745, allocations: 12 kB / 374.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.09754, allocations: 63.7 kB / 374.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.09766, allocations: 79.36 kB / 374.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.09806, allocations: 386.3 kB / 375.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09806, allocations: 0 / 375.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09807, allocations: 0 / 375.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.09807, allocations: 0 / 375.3 MB, free: 3.645 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.0008001/0.09887, allocations: 0.663 MB / 375.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.09891, allocations: 8.922 kB / 375.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.09898, allocations: 36.7 kB / 376 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.09926, allocations: 216.9 kB / 376.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.09928, allocations: 8.375 kB / 376.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.09931, allocations: 4.375 kB / 376.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.0997, allocations: 252.7 kB / 376.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.09971, allocations: 0 / 376.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.09973, allocations: 8 kB / 376.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.09974, allocations: 0 / 376.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.09996, allocations: 182.7 kB / 376.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.1006, allocations: 380.2 kB / 377 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1009, allocations: 201.3 kB / 377.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1011, allocations: 183.7 kB / 377.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.1011, allocations: 112 / 377.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.1015, allocations: 329.4 kB / 377.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1015, allocations: 4 kB / 377.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001032/0.1025, allocations: 0.7088 MB / 378.4 MB, free: 144 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1027, allocations: 166.2 kB / 378.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.1034, allocations: 0.5168 MB / 379.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.1034, allocations: 29.7 kB / 379.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.1035, allocations: 97.12 kB / 379.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.1035, allocations: 39.78 kB / 379.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1037, allocations: 81.56 kB / 379.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1038, allocations: 326.8 kB / 379.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.104, allocations: 178.7 kB / 379.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1043, allocations: 196.5 kB / 380 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.1047, allocations: 354.7 kB / 380.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1047, allocations: 0 / 380.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006932/0.1054, allocations: 0.5069 MB / 380.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1055, allocations: 126.8 kB / 381 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1055, allocations: 4.031 kB / 381 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1055, allocations: 0 / 381 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.767e-05/0.1055, allocations: 8 kB / 381 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1055, allocations: 0 / 381 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1057, allocations: 15.92 kB / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.1058, allocations: 55.94 kB / 381.1 MB, free: 13.21 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0004007/0.1062, allocations: 366.5 kB / 381.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.1062, allocations: 39.77 kB / 381.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.1063, allocations: 67.08 kB / 381.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1064, allocations: 0 / 381.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1064, allocations: 4 kB / 381.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1064, allocations: 0 / 381.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.1075, allocations: 0.8744 MB / 382.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1075, allocations: 0 / 382.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-06/0.1075, allocations: 0 / 382.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1075, allocations: 0 / 382.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.1075, allocations: 15.98 kB / 382.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1075, allocations: 192 / 382.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1075, allocations: 4 kB / 382.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.1084, allocations: 0.6686 MB / 383.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.1088, allocations: 201.4 kB / 383.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.1088, allocations: 16 kB / 383.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.109, allocations: 11.97 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.1091, allocations: 27.97 kB / 383.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.1091, allocations: 59.94 kB / 383.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005318/0.1097, allocations: 382.9 kB / 383.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1097, allocations: 0 / 383.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.11, allocations: 47.94 kB / 383.8 MB, free: 10.27 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001655/0.1102, allocations: 118 kB / 384 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.1109, allocations: 0.6202 MB / 384.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1109, allocations: 0 / 384.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.1113, allocations: 424.4 kB / 385 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.1119, allocations: 122.7 kB / 385.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1131, allocations: 0.773 MB / 385.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1134, allocations: 197.7 kB / 386.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.1134, allocations: 8.719 kB / 386.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.1135, allocations: 16.56 kB / 386.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1135, allocations: 0 / 386.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Templates: time 0.009156/0.1226, allocations: 5.011 MB / 391.1 MB, free: 2.73 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.303657507989556]