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.002087/0.002087, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.002467/0.002467, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.306/2.306, allocations: 222.9 MB / 241.7 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 40.62 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 49.45 MB / 350.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004099/0.1332, allocations: 1.556 MB / 351.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1357, allocations: 0.8733 MB / 352.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.1358, allocations: 0 / 352.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1359, allocations: 7.938 kB / 352.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.1361, allocations: 23.84 kB / 352.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1364, allocations: 39.97 kB / 352.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1366, allocations: 111.7 kB / 352.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1368, allocations: 20.22 kB / 352.7 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009351/0.1377, allocations: 0.5615 MB / 353.2 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1379, allocations: 59.77 kB / 353.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.1379, allocations: 8 kB / 353.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.138, allocations: 4 kB / 353.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1382, allocations: 67.7 kB / 353.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1384, allocations: 111.2 kB / 353.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.1388, allocations: 299.4 kB / 353.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1388, allocations: 0 / 353.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1388, allocations: 3.938 kB / 353.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.85e-06/0.1388, allocations: 0 / 353.8 MB, free: 1.078 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.001014/0.1399, allocations: 0.7153 MB / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.1399, allocations: 12.03 kB / 354.5 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.14, allocations: 36.47 kB / 354.5 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1404, allocations: 282.5 kB / 354.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.1405, allocations: 8.312 kB / 354.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1405, allocations: 8.375 kB / 354.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.141, allocations: 132.5 kB / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.141, allocations: 0 / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.141, allocations: 8 kB / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.141, allocations: 0 / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1413, allocations: 59.97 kB / 355 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1424, allocations: 472.4 kB / 355.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1426, allocations: 90.55 kB / 355.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1429, allocations: 88.83 kB / 355.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.1429, allocations: 4 kB / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005228/0.1434, allocations: 206.7 kB / 355.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.1434, allocations: 7.938 kB / 355.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.00124/0.1447, allocations: 471.9 kB / 356.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.1448, allocations: 170.2 kB / 356.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.1458, allocations: 0.5052 MB / 357 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.1458, allocations: 33.7 kB / 357.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.1459, allocations: 97.05 kB / 357.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.146, allocations: 35.58 kB / 357.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.1462, allocations: 85.42 kB / 357.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1463, allocations: 326.8 kB / 357.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1465, allocations: 55.97 kB / 357.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.1467, allocations: 77.67 kB / 357.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.1472, allocations: 346.4 kB / 358.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1472, allocations: 0 / 358.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007532/0.148, allocations: 388.3 kB / 358.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.1481, allocations: 126.8 kB / 358.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1481, allocations: 4 kB / 358.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1482, allocations: 0 / 358.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.719e-05/0.1482, allocations: 0 / 358.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1482, allocations: 0 / 358.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1484, allocations: 16 kB / 358.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/0.1485, allocations: 67.86 kB / 358.6 MB, free: 11.8 MB / 302.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.0005549/0.1491, allocations: 370.8 kB / 359 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/0.1492, allocations: 39.66 kB / 359 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.1494, allocations: 67.14 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1494, allocations: 4 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1494, allocations: 0 / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1495, allocations: 3.984 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1508, allocations: 0.8056 MB / 359.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1508, allocations: 3.984 kB / 359.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-06/0.1509, allocations: 4 kB / 359.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1509, allocations: 0 / 359.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.1509, allocations: 12 kB / 359.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.1509, allocations: 4 kB / 359.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1509, allocations: 7.875 kB / 360 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.1519, allocations: 0.5368 MB / 360.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.1523, allocations: 244.5 kB / 360.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.1524, allocations: 12 kB / 360.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1526, allocations: 15.89 kB / 360.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.1528, allocations: 31.91 kB / 360.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.1529, allocations: 59.94 kB / 360.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000675/0.1535, allocations: 382.9 kB / 361.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1536, allocations: 0 / 361.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.154, allocations: 51.94 kB / 361.3 MB, free: 8.988 MB / 302.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.0002008/0.1542, allocations: 114.9 kB / 361.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.155, allocations: 445.6 kB / 361.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.155, allocations: 0 / 361.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.1555, allocations: 381.6 kB / 362.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.1563, allocations: 103.1 kB / 362.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.158, allocations: 0.8093 MB / 363.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.1587, allocations: 0.7946 MB / 363.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.1587, allocations: 11.44 kB / 363.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1587, allocations: 0 / 363.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of Templates: time 0.005912/0.1647, allocations: 2.679 MB / 366.6 MB, free: 3.469 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/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