Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.00178/0.00178, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.002327/0.002327, allocations: 158.2 kB / 24.5 MB, free: 3.719 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.431/1.431, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 60.33 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1164, allocations: 53.33 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003094/0.1195, allocations: 1.481 MB / 380.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1216, allocations: 0.8343 MB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.1217, allocations: 0 / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.1218, allocations: 11.86 kB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.1219, allocations: 23.84 kB / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1222, allocations: 59.81 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.1224, allocations: 123.8 kB / 381.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1225, allocations: 16.23 kB / 381.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.1232, allocations: 0.5771 MB / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1234, allocations: 75.69 kB / 382.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.1234, allocations: 8 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.003e-05/0.1235, allocations: 15.94 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.405e-05/0.1236, allocations: 59.7 kB / 382.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1237, allocations: 87.34 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.1241, allocations: 382.4 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1241, allocations: 0 / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1241, allocations: 0 / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1242, allocations: 4 kB / 382.6 MB, free: 11.89 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.0008297/0.125, allocations: 0.6552 MB / 383.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.125, allocations: 8.031 kB / 383.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.1251, allocations: 40.7 kB / 383.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.1254, allocations: 220.8 kB / 383.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1254, allocations: 4.375 kB / 383.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1255, allocations: 16.31 kB / 383.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.1259, allocations: 248.7 kB / 383.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1259, allocations: 4 kB / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.1259, allocations: 7.984 kB / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1259, allocations: 0 / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1261, allocations: 182.8 kB / 384 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.1268, allocations: 388.3 kB / 384.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.1271, allocations: 193.3 kB / 384.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.1273, allocations: 179.7 kB / 384.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1273, allocations: 0 / 384.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.1278, allocations: 337.5 kB / 385.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1278, allocations: 3.938 kB / 385.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001044/0.1288, allocations: 0.7047 MB / 385.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.1289, allocations: 174.2 kB / 386 MB, free: 8.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.13, allocations: 0.5091 MB / 386.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.13, allocations: 29.7 kB / 386.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1301, allocations: 101.1 kB / 386.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.1302, allocations: 31.78 kB / 386.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.1304, allocations: 77.56 kB / 386.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1306, allocations: 326.8 kB / 387 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.1309, allocations: 182.8 kB / 387.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.1312, allocations: 192.5 kB / 387.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.1318, allocations: 347.3 kB / 387.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1318, allocations: 4 kB / 387.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009339/0.1327, allocations: 0.5108 MB / 388.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.1328, allocations: 126.9 kB / 388.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1328, allocations: 3.938 kB / 388.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1329, allocations: 0 / 388.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.1329, allocations: 4 kB / 388.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1329, allocations: 3.984 kB / 388.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1331, allocations: 15.88 kB / 388.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.1332, allocations: 55.94 kB / 388.4 MB, free: 5.461 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.00062/0.1338, allocations: 375.1 kB / 388.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1339, allocations: 43.75 kB / 388.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.1341, allocations: 63.08 kB / 388.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1341, allocations: 0 / 388.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1341, allocations: 0 / 388.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1341, allocations: 0 / 388.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.1358, allocations: 0.8629 MB / 389.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.1358, allocations: 8.047 kB / 389.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.1358, allocations: 0 / 389.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1358, allocations: 4 kB / 389.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.1358, allocations: 12 kB / 389.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1358, allocations: 4 kB / 389.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.1358, allocations: 7.938 kB / 389.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.137, allocations: 0.6722 MB / 390.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.1376, allocations: 197.4 kB / 390.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.1377, allocations: 12 kB / 390.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1378, allocations: 11.98 kB / 390.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.138, allocations: 27.97 kB / 390.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.1381, allocations: 56 kB / 390.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006932/0.1388, allocations: 390.9 kB / 391.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1388, allocations: 0 / 391.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.1392, allocations: 47.94 kB / 391.2 MB, free: 2.504 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.000172/0.1394, allocations: 110.2 kB / 391.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009449/0.1404, allocations: 0.6124 MB / 391.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1404, allocations: 0 / 391.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.1409, allocations: 428.4 kB / 392.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009735/0.1419, allocations: 126.1 kB / 392.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1436, allocations: 0.7731 MB / 393.2 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.144, allocations: 201.7 kB / 393.4 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.1441, allocations: 8.719 kB / 393.5 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1441, allocations: 12.5 kB / 393.5 MB, free: 12 kB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1441, allocations: 0 / 393.5 MB, free: 12 kB / 350.1 MB Notification: Performance of Templates: time 0.01277/0.1569, allocations: 5.036 MB / 398.5 MB, free: 10.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.417166224913672]