Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001115, allocations: 105.4 kB / 18.35 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 192 kB / 19.29 MB, free: 3.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 60.3 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003302/0.1306, allocations: 1.493 MB / 330.2 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1328, allocations: 0.8936 MB / 331.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.1329, allocations: 7.938 kB / 331.1 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1332, allocations: 11.86 kB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.1333, allocations: 15.86 kB / 331.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.1338, allocations: 47.89 kB / 331.2 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1341, allocations: 143.7 kB / 331.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1343, allocations: 20.22 kB / 331.4 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.135, allocations: 0.5654 MB / 331.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1352, allocations: 71.7 kB / 332 MB, free: 480 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.1353, allocations: 8 kB / 332 MB, free: 472 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.133e-05/0.1353, allocations: 8 kB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1354, allocations: 63.77 kB / 332.1 MB, free: 400 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1356, allocations: 123.1 kB / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.136, allocations: 366.7 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1361, allocations: 3.984 kB / 332.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1361, allocations: 4 kB / 332.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1361, allocations: 0 / 332.6 MB, free: 15.9 MB / 286.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.0008477/0.1369, allocations: 0.7188 MB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.137, allocations: 12.03 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.1371, allocations: 36.5 kB / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1374, allocations: 274.3 kB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1375, allocations: 4.375 kB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1375, allocations: 8.375 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.1378, allocations: 133.9 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1379, allocations: 4 kB / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1379, allocations: 4 kB / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1379, allocations: 0 / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1381, allocations: 67.89 kB / 333.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.1388, allocations: 456.5 kB / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.139, allocations: 98.48 kB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1392, allocations: 92.92 kB / 334.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.1392, allocations: 0 / 334.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.1397, allocations: 202.7 kB / 334.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1397, allocations: 4 kB / 334.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008459/0.1405, allocations: 480.4 kB / 335.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.1407, allocations: 174.1 kB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.1413, allocations: 0.5091 MB / 335.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.1414, allocations: 33.7 kB / 335.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.1415, allocations: 105.9 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.1415, allocations: 27.66 kB / 336 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.1417, allocations: 85.41 kB / 336 MB, free: 12.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1418, allocations: 322.8 kB / 336.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1419, allocations: 55.97 kB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1421, allocations: 78.61 kB / 336.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.1425, allocations: 355.2 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1425, allocations: 0 / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005436/0.143, allocations: 384.3 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1431, allocations: 122.8 kB / 337.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1432, allocations: 4 kB / 337.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1432, allocations: 3.984 kB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.309e-05/0.1432, allocations: 0 / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1432, allocations: 0 / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1434, allocations: 16.02 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.1435, allocations: 63.94 kB / 337.4 MB, free: 10.62 MB / 286.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.0003849/0.1438, allocations: 362.7 kB / 337.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.1439, allocations: 39.53 kB / 337.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.144, allocations: 59.16 kB / 337.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.144, allocations: 3.984 kB / 337.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.144, allocations: 4 kB / 337.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.144, allocations: 0 / 337.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1451, allocations: 0.8251 MB / 338.7 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1451, allocations: 4.188 kB / 338.7 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-06/0.1451, allocations: 4 kB / 338.7 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1451, allocations: 4 kB / 338.7 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.1451, allocations: 8 kB / 338.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1451, allocations: 0 / 338.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1451, allocations: 11.88 kB / 338.7 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.1458, allocations: 0.533 MB / 339.3 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.1461, allocations: 240.5 kB / 339.5 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.1462, allocations: 15.98 kB / 339.5 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1463, allocations: 15.94 kB / 339.5 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.1465, allocations: 23.91 kB / 339.5 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.1466, allocations: 59.94 kB / 339.6 MB, free: 8.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004874/0.1471, allocations: 390.9 kB / 340 MB, free: 7.867 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1471, allocations: 0 / 340 MB, free: 7.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.1473, allocations: 47.94 kB / 340 MB, free: 7.82 MB / 286.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.000203/0.1476, allocations: 115 kB / 340.1 MB, free: 7.699 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.1482, allocations: 433.5 kB / 340.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1482, allocations: 0 / 340.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.1486, allocations: 385.5 kB / 340.9 MB, free: 6.801 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.1492, allocations: 112.5 kB / 341.1 MB, free: 6.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1505, allocations: 0.6498 MB / 341.7 MB, free: 6.016 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.151, allocations: 0.806 MB / 342.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.1511, allocations: 12.59 kB / 342.5 MB, free: 5.168 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.1511, allocations: 11.44 kB / 342.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1511, allocations: 0 / 342.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of Templates: time 0.008023/0.1591, allocations: 4.678 MB / 347.2 MB, free: 392 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches