Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_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.001023/0.001023, allocations: 92.55 kB / 16.65 MB, free: 6.59 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.001262/0.001262, allocations: 184.9 kB / 17.56 MB, free: 6.203 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.493/1.493, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002556, allocations: 12.69 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 50.41 MB / 351.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001787/0.1141, allocations: 1.219 MB / 353 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1161, allocations: 0.8624 MB / 353.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.1162, allocations: 0 / 353.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.847e-05/0.1163, allocations: 11.92 kB / 353.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.1164, allocations: 11.92 kB / 353.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1167, allocations: 51.89 kB / 354 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.1169, allocations: 99.77 kB / 354.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1171, allocations: 20.22 kB / 354.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007006/0.1178, allocations: 0.5537 MB / 354.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1179, allocations: 67.69 kB / 354.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.118, allocations: 7.938 kB / 354.7 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.159e-05/0.118, allocations: 4 kB / 354.7 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1182, allocations: 67.75 kB / 354.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1183, allocations: 136.8 kB / 354.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.1187, allocations: 354.6 kB / 355.3 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1187, allocations: 4 kB / 355.3 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1187, allocations: 0 / 355.3 MB, free: 220 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1188, allocations: 0 / 355.3 MB, free: 220 kB / 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.0007948/0.1196, allocations: 0.6492 MB / 355.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1196, allocations: 8.031 kB / 355.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.727e-05/0.1197, allocations: 36.47 kB / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.12, allocations: 278.3 kB / 356.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.1201, allocations: 16.38 kB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1201, allocations: 4.375 kB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.1205, allocations: 133.9 kB / 356.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1205, allocations: 0 / 356.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.1205, allocations: 4 kB / 356.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1205, allocations: 4 kB / 356.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1207, allocations: 55.97 kB / 356.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.1214, allocations: 472.5 kB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1216, allocations: 94.55 kB / 357 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1218, allocations: 84.89 kB / 357.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.1218, allocations: 0 / 357.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.1222, allocations: 218 kB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/0.1222, allocations: 0 / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000833/0.1231, allocations: 471.9 kB / 357.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1232, allocations: 170.2 kB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.124, allocations: 0.513 MB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.1241, allocations: 29.7 kB / 358.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.1241, allocations: 101 kB / 358.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.1242, allocations: 31.69 kB / 358.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.1242, allocations: 25.66 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1244, allocations: 330.8 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1245, allocations: 55.97 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1247, allocations: 80.77 kB / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.125, allocations: 343.4 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1251, allocations: 4 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005635/0.1256, allocations: 380.3 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.1257, allocations: 126.8 kB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1257, allocations: 4.031 kB / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1258, allocations: 0 / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.1258, allocations: 4 kB / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1258, allocations: 3.938 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.126, allocations: 19.92 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.1261, allocations: 59.94 kB / 360 MB, free: 11.07 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.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.0003557/0.1264, allocations: 366.7 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.1265, allocations: 39.53 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.1266, allocations: 71.14 kB / 360.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1267, allocations: 4 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1267, allocations: 0 / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1267, allocations: 3.984 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/0.1277, allocations: 0.8092 MB / 361.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1277, allocations: 0 / 361.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.1277, allocations: 7.938 kB / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1277, allocations: 0 / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1277, allocations: 12 kB / 361.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1277, allocations: 8.188 kB / 361.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1278, allocations: 7.938 kB / 361.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.1284, allocations: 0.5368 MB / 361.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.1288, allocations: 244.5 kB / 362.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.1289, allocations: 12 kB / 362.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.129, allocations: 11.98 kB / 362.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1292, allocations: 27.91 kB / 362.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.1293, allocations: 60 kB / 362.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005152/0.1298, allocations: 390.9 kB / 362.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1298, allocations: 0 / 362.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.1301, allocations: 47.84 kB / 362.6 MB, free: 8.254 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,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.0001539/0.1303, allocations: 125.7 kB / 362.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.1308, allocations: 433.5 kB / 363.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1309, allocations: 0 / 363.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.1312, allocations: 377.6 kB / 363.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.1319, allocations: 104.7 kB / 363.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1331, allocations: 0.7622 MB / 364.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.1336, allocations: 0.8064 MB / 365.2 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.1337, allocations: 4.672 kB / 365.2 MB, free: 5.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.1337, allocations: 7.438 kB / 365.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1337, allocations: 0 / 365.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of Templates: time 0.008274/0.142, allocations: 4.138 MB / 369.4 MB, free: 1.293 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches