Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.001762/0.001762, allocations: 79.03 kB / 21.24 MB, free: 0.543 MB / 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.002038/0.002038, allocations: 161.4 kB / 24.5 MB, free: 3.719 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.548/1.548, allocations: 177.1 MB / 204.7 MB, free: 8.984 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 65.5 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002712/0.1058, allocations: 1.504 MB / 380.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1076, allocations: 0.8303 MB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.1077, allocations: 0 / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.725e-05/0.1078, allocations: 11.86 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.1079, allocations: 23.84 kB / 381.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1081, allocations: 59.62 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1083, allocations: 127.8 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.1084, allocations: 12.22 kB / 381.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006289/0.1091, allocations: 0.5771 MB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1092, allocations: 75.64 kB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.1092, allocations: 8 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-05/0.1093, allocations: 12 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.1094, allocations: 59.77 kB / 382.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1095, allocations: 87.33 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.1099, allocations: 386.3 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1099, allocations: 0 / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1099, allocations: 0 / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1099, allocations: 0 / 382.6 MB, free: 11.73 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.0007632/0.1107, allocations: 0.6591 MB / 383.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1107, allocations: 11.98 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.1108, allocations: 36.7 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1111, allocations: 220.8 kB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.1111, allocations: 12.38 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1111, allocations: 4.375 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.1115, allocations: 248.7 kB / 383.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1115, allocations: 4 kB / 383.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.1115, allocations: 4 kB / 383.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1115, allocations: 3.984 kB / 383.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.1117, allocations: 174.8 kB / 384 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.1123, allocations: 388.3 kB / 384.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1126, allocations: 193.3 kB / 384.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1128, allocations: 183.7 kB / 384.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.1128, allocations: 0 / 384.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.1132, allocations: 341.3 kB / 385.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.1132, allocations: 4 kB / 385.1 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009346/0.1142, allocations: 0.697 MB / 385.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1143, allocations: 170.2 kB / 386 MB, free: 8.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.1149, allocations: 0.5091 MB / 386.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1149, allocations: 33.7 kB / 386.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.115, allocations: 101.1 kB / 386.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.115, allocations: 27.8 kB / 386.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.1151, allocations: 81.55 kB / 386.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1153, allocations: 330.8 kB / 387 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1155, allocations: 174.8 kB / 387.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1157, allocations: 196.5 kB / 387.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1161, allocations: 351.3 kB / 387.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1161, allocations: 112 / 387.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006288/0.1167, allocations: 0.5148 MB / 388.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.401e-05/0.1168, allocations: 126.8 kB / 388.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1168, allocations: 4 kB / 388.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1168, allocations: 0 / 388.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.1168, allocations: 4 kB / 388.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1169, allocations: 4.062 kB / 388.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.117, allocations: 27.94 kB / 388.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.1171, allocations: 59.88 kB / 388.5 MB, free: 5.281 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.0003477/0.1174, allocations: 362.4 kB / 388.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.1175, allocations: 39.77 kB / 388.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.1176, allocations: 63.09 kB / 388.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1176, allocations: 0 / 388.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1176, allocations: 0 / 388.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1176, allocations: 3.984 kB / 388.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.1186, allocations: 0.8701 MB / 389.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1186, allocations: 0 / 389.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-06/0.1186, allocations: 7.938 kB / 389.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1186, allocations: 0 / 389.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1186, allocations: 15.98 kB / 389.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1186, allocations: 0 / 389.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1186, allocations: 0 / 389.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.1194, allocations: 0.6686 MB / 390.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.1198, allocations: 205.4 kB / 390.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.1198, allocations: 12 kB / 390.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.12, allocations: 11.98 kB / 390.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.1201, allocations: 15.98 kB / 390.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.1201, allocations: 67.98 kB / 390.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004739/0.1206, allocations: 382.9 kB / 391.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1206, allocations: 3.938 kB / 391.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1209, allocations: 47.94 kB / 391.2 MB, free: 2.348 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.0001281/0.121, allocations: 122.2 kB / 391.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.1217, allocations: 0.6124 MB / 392 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1217, allocations: 0 / 392 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.122, allocations: 420.4 kB / 392.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.1226, allocations: 132 kB / 392.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1238, allocations: 0.7731 MB / 393.3 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1241, allocations: 193.7 kB / 393.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.1241, allocations: 4.734 kB / 393.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.1241, allocations: 12.5 kB / 393.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1241, allocations: 4 kB / 393.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Templates: time 0.008806/0.1329, allocations: 5.023 MB / 398.5 MB, free: 10.78 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.609052978921682]