Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.00142/0.00142, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001562/0.001562, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 55.91 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1214, allocations: 53.32 MB / 427.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003107/0.1245, allocations: 1.533 MB / 428.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1267, allocations: 0.8848 MB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.1268, allocations: 0 / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1269, allocations: 7.922 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.164e-05/0.127, allocations: 23.84 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1272, allocations: 47.89 kB / 429.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1275, allocations: 135.7 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1276, allocations: 8.234 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.1283, allocations: 0.5849 MB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1284, allocations: 79.69 kB / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.1285, allocations: 8 kB / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-05/0.1285, allocations: 8 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1286, allocations: 67.7 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1288, allocations: 111.2 kB / 430.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.1292, allocations: 378.4 kB / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1292, allocations: 0 / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1292, allocations: 0 / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1292, allocations: 0 / 431 MB, free: 0.6016 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.00106/0.1303, allocations: 0.7267 MB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.1303, allocations: 15.97 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1304, allocations: 36.7 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.1308, allocations: 278.7 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.1309, allocations: 4.375 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.1309, allocations: 8.375 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.1313, allocations: 133.9 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1313, allocations: 0 / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.1313, allocations: 8 kB / 432.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1313, allocations: 0 / 432.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1315, allocations: 67.91 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007876/0.1323, allocations: 468.5 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1325, allocations: 74.48 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1327, allocations: 64.94 kB / 432.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1327, allocations: 4 kB / 432.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004516/0.1331, allocations: 206.7 kB / 433.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1331, allocations: 0 / 433.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000995/0.1341, allocations: 480.2 kB / 433.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1343, allocations: 174.1 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006922/0.135, allocations: 0.5091 MB / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.135, allocations: 29.7 kB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.1351, allocations: 105.1 kB / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.1351, allocations: 27.84 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1352, allocations: 89.55 kB / 434.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1354, allocations: 326.8 kB / 434.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1355, allocations: 55.97 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1357, allocations: 69.69 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.1361, allocations: 353.3 kB / 435.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1361, allocations: 4 kB / 435.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006367/0.1367, allocations: 396.3 kB / 435.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.1368, allocations: 118.8 kB / 435.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1368, allocations: 4 kB / 435.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1369, allocations: 0 / 435.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.141e-05/0.1369, allocations: 3.984 kB / 435.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.1369, allocations: 0 / 435.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.137, allocations: 12 kB / 435.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/0.1371, allocations: 59.94 kB / 435.8 MB, free: 11.34 MB / 366.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.0003811/0.1375, allocations: 362.8 kB / 436.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.1375, allocations: 43.75 kB / 436.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.1377, allocations: 67.14 kB / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1377, allocations: 0 / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1377, allocations: 4 kB / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1377, allocations: 0 / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.1388, allocations: 0.8203 MB / 437.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1388, allocations: 0 / 437.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-06/0.1388, allocations: 7.938 kB / 437.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1388, allocations: 0 / 437.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.1389, allocations: 19.98 kB / 437.2 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1389, allocations: 4 kB / 437.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1389, allocations: 3.938 kB / 437.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.1396, allocations: 0.5293 MB / 437.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.14, allocations: 248.6 kB / 437.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.14, allocations: 15.94 kB / 437.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1401, allocations: 12.17 kB / 438 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.1403, allocations: 31.92 kB / 438 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.1404, allocations: 63.92 kB / 438.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005317/0.1409, allocations: 386.9 kB / 438.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1409, allocations: 0 / 438.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.1412, allocations: 40 kB / 438.5 MB, free: 8.539 MB / 366.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.0001661/0.1414, allocations: 111.2 kB / 438.6 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005869/0.142, allocations: 381.5 kB / 438.9 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.142, allocations: 0 / 438.9 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.1423, allocations: 309.6 kB / 439.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.143, allocations: 111.4 kB / 439.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1443, allocations: 0.6532 MB / 440 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.1449, allocations: 0.8022 MB / 440.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.1449, allocations: 12.64 kB / 440.8 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.145, allocations: 11.44 kB / 440.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.145, allocations: 4 kB / 440.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of Templates: time 0.00968/0.1547, allocations: 4.67 MB / 445.5 MB, free: 1.266 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.848114230670035]