Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_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.0009589/0.000959, allocations: 83.66 kB / 16.31 MB, free: 6.449 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.001055/0.001055, allocations: 179.7 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.3 MB / 241.2 MB, free: 5.27 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 5.594 kB / 300.8 MB, free: 5.566 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 50.43 MB / 351.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002002/0.1241, allocations: 1.183 MB / 352.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.126, allocations: 0.824 MB / 353.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.1261, allocations: 3.938 kB / 353.3 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.488e-05/0.1262, allocations: 7.922 kB / 353.3 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.1263, allocations: 15.92 kB / 353.3 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1266, allocations: 35.89 kB / 353.3 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1267, allocations: 99.77 kB / 353.4 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1268, allocations: 16.48 kB / 353.4 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.1274, allocations: 0.4913 MB / 353.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1276, allocations: 67.83 kB / 354 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.1276, allocations: 4 kB / 354 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.483e-05/0.1276, allocations: 4 kB / 354 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.1277, allocations: 67.77 kB / 354.1 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.1278, allocations: 73.52 kB / 354.1 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1281, allocations: 299.2 kB / 354.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1281, allocations: 0 / 354.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1281, allocations: 0 / 354.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1281, allocations: 0 / 354.4 MB, free: 8.238 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.0006746/0.1288, allocations: 0.6593 MB / 355.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1288, allocations: 11.97 kB / 355.1 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.1289, allocations: 35.62 kB / 355.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1292, allocations: 253.5 kB / 355.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1292, allocations: 8 kB / 355.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1293, allocations: 8 kB / 355.4 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.1296, allocations: 125.6 kB / 355.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1296, allocations: 7.922 kB / 355.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1296, allocations: 11.95 kB / 355.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1296, allocations: 0 / 355.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1298, allocations: 59.91 kB / 355.6 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.1304, allocations: 468.5 kB / 356 MB, free: 6.441 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1306, allocations: 90.55 kB / 356.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1308, allocations: 92.78 kB / 356.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1308, allocations: 4 kB / 356.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/0.1312, allocations: 210.7 kB / 356.4 MB, free: 6.016 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.1312, allocations: 4 kB / 356.4 MB, free: 6.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000788/0.132, allocations: 473.8 kB / 356.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1321, allocations: 166.2 kB / 357.1 MB, free: 5.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/0.1327, allocations: 0.5168 MB / 357.6 MB, free: 4.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.1328, allocations: 33.7 kB / 357.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.1329, allocations: 97.05 kB / 357.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.1329, allocations: 27.7 kB / 357.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.1329, allocations: 4 kB / 357.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1331, allocations: 330.8 kB / 358.1 MB, free: 4.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1332, allocations: 55.97 kB / 358.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1333, allocations: 73.62 kB / 358.2 MB, free: 4.164 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1335, allocations: 158.8 kB / 358.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.1335, allocations: 3.984 kB / 358.3 MB, free: 3.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005038/0.134, allocations: 396.3 kB / 358.7 MB, free: 3.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.229e-05/0.1341, allocations: 122.8 kB / 358.9 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1341, allocations: 0 / 358.9 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1342, allocations: 4.031 kB / 358.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-05/0.1342, allocations: 0 / 358.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1342, allocations: 7.984 kB / 358.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1344, allocations: 12.06 kB / 358.9 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.1344, allocations: 63.94 kB / 358.9 MB, free: 3.332 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003382/0.1348, allocations: 362.8 kB / 359.3 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.1348, allocations: 43.48 kB / 359.3 MB, free: 2.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1349, allocations: 67.14 kB / 359.4 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.135, allocations: 0 / 359.4 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.135, allocations: 112 / 359.4 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.135, allocations: 3.938 kB / 359.4 MB, free: 2.824 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.1359, allocations: 0.8242 MB / 360.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1359, allocations: 0 / 360.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.1359, allocations: 3.938 kB / 360.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1359, allocations: 0 / 360.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.136, allocations: 15.98 kB / 360.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.136, allocations: 0 / 360.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.136, allocations: 4 kB / 360.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.1366, allocations: 0.5291 MB / 360.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.1369, allocations: 248.4 kB / 361 MB, free: 1.066 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.137, allocations: 12 kB / 361 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1371, allocations: 12 kB / 361 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.1372, allocations: 27.95 kB / 361.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.1373, allocations: 60 kB / 361.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004484/0.1378, allocations: 386.9 kB / 361.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1378, allocations: 4 kB / 361.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.138, allocations: 40 kB / 361.6 MB, free: 0.5352 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.1382, allocations: 127 kB / 361.7 MB, free: 412 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000548/0.1388, allocations: 433.5 kB / 362.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1388, allocations: 0 / 362.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.1391, allocations: 377.6 kB / 362.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.1397, allocations: 103.8 kB / 362.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1408, allocations: 0.7387 MB / 363.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1412, allocations: 0.8025 MB / 364.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.1413, allocations: 12.59 kB / 364.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.1413, allocations: 15.38 kB / 364.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1413, allocations: 0 / 364.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Templates: time 0.006784/0.1481, allocations: 4.056 MB / 368.2 MB, free: 9.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches