Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.001274/0.001274, allocations: 191 kB / 19.29 MB, free: 3.715 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.576/1.576, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.00251/0.00251, allocations: 51.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1262, allocations: 46.62 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.004144/0.1304, allocations: 1.485 MB / 330.2 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1329, allocations: 0.9013 MB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.133, allocations: 7.938 kB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.1332, allocations: 11.86 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.1333, allocations: 15.86 kB / 331.1 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1336, allocations: 51.88 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1339, allocations: 131.8 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.134, allocations: 24.22 kB / 331.4 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.1349, allocations: 0.5654 MB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1351, allocations: 75.69 kB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.1352, allocations: 8 kB / 332 MB, free: 456 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.1352, allocations: 12 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1353, allocations: 63.75 kB / 332.1 MB, free: 380 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1355, allocations: 115.1 kB / 332.2 MB, free: 264 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.1361, allocations: 378.6 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1361, allocations: 4 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1361, allocations: 0 / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1361, allocations: 0 / 332.6 MB, free: 15.88 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.001207/0.1373, allocations: 0.7188 MB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1374, allocations: 12.03 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.1375, allocations: 32.56 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1378, allocations: 278.3 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1378, allocations: 4.375 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1379, allocations: 12.38 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.1382, allocations: 133.9 kB / 333.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1382, allocations: 0 / 333.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1382, allocations: 4 kB / 333.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1383, allocations: 4 kB / 333.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1384, allocations: 55.97 kB / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.1393, allocations: 464.4 kB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1395, allocations: 98.48 kB / 334.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1396, allocations: 88.83 kB / 334.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1397, allocations: 4 kB / 334.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.1401, allocations: 206.6 kB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.1401, allocations: 0 / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000897/0.141, allocations: 476.4 kB / 335.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.1411, allocations: 174.2 kB / 335.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.1418, allocations: 0.5091 MB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1418, allocations: 29.7 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.1419, allocations: 109.8 kB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1419, allocations: 27.66 kB / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.1421, allocations: 85.41 kB / 336 MB, free: 12.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1422, allocations: 326.8 kB / 336.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1424, allocations: 55.97 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1425, allocations: 77.62 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.1429, allocations: 355.2 kB / 336.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1429, allocations: 0 / 336.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005306/0.1434, allocations: 380.3 kB / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/0.1435, allocations: 118.8 kB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1435, allocations: 4 kB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1436, allocations: 0 / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.278e-05/0.1436, allocations: 7.922 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1436, allocations: 0 / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1437, allocations: 16.03 kB / 337.3 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.1438, allocations: 59.94 kB / 337.4 MB, free: 10.61 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.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.0003479/0.1442, allocations: 366.7 kB / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.1442, allocations: 43.52 kB / 337.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.1444, allocations: 67.27 kB / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1444, allocations: 4 kB / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1444, allocations: 4 kB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1444, allocations: 0 / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.1454, allocations: 0.8212 MB / 338.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1454, allocations: 0 / 338.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-06/0.1454, allocations: 4 kB / 338.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1454, allocations: 0 / 338.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.1455, allocations: 16.09 kB / 338.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1455, allocations: 7.938 kB / 338.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1455, allocations: 3.938 kB / 338.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.1462, allocations: 0.5291 MB / 339.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.1465, allocations: 244.5 kB / 339.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.1466, allocations: 12 kB / 339.5 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1467, allocations: 11.98 kB / 339.5 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1469, allocations: 27.92 kB / 339.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.1469, allocations: 59.92 kB / 339.6 MB, free: 8.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004969/0.1474, allocations: 382.9 kB / 340 MB, free: 7.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1475, allocations: 0 / 340 MB, free: 7.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.1478, allocations: 47.94 kB / 340 MB, free: 7.809 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,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.0001708/0.1479, allocations: 121.6 kB / 340.1 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.1485, allocations: 433.5 kB / 340.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1486, allocations: 4 kB / 340.6 MB, free: 7.203 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.1489, allocations: 385.5 kB / 341 MB, free: 6.777 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.1496, allocations: 110.2 kB / 341.1 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1507, allocations: 0.6614 MB / 341.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.1512, allocations: 0.806 MB / 342.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.794e-05/0.1513, allocations: 16.58 kB / 342.5 MB, free: 5.133 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.1513, allocations: 11.44 kB / 342.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1513, allocations: 0 / 342.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of Templates: time 0.008368/0.1597, allocations: 4.658 MB / 347.2 MB, free: 380 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches